There parameters need to be obained: no. of physical CPU; no. of cores on each CPU; no. of all threads. In my case, the CPU name: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz (1) Check the number of physical CPU # cat /proc/cpuinfo | grep "physical id&q…
I passionately enjoy working with commands as they offer more control over a Linux system than GUIs(Graphical User Interfaces) applications, therefore am always on the look out to discover or figure out interesting ways and ideas to make Linux so eas…
The Linux kernel supports a variety of virtualization schemes, and that's likely to grow as virtualization advances and new schemes are discovered (for example, lguest). But with all these virtualization schemes running on top of Linux, how do they e…
other article on my list: 查看进程 https://i.cnblogs.com/PostDone.aspx?postid=9231604&actiontip=%E4%BF%9D%E5%AD%98%E4%BF%AE%E6%94%B9%E6%88%90%E5%8A%9F inux查看物理CPU个数.核数.逻辑CPU个数 总核数 = 物理CPU个数 X 每颗物理CPU的核数 # 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数 (超线程数与这个有什么…
Introduction to Linux monitoring and alerting https://www.redhat.com/sysadmin/linux-monitoring-and-alerting mail 的命令挺有意思的. Have you ever wanted to set up a process monitor that alerts you when it's offline without spending thousands of budget dollars…
"文明的建立的不是机器而是思想" -- 托尔斯泰 Linux truly become a viable operating system, especially in the server market. In the past, compatibility among different UNIX system has been a real problem. These days, by following a few simple rules, it's possible to…
突然有个自动化需求所以准备使用模拟点击的方法, 在使用之前的PhantomJS时,报错 UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome …… 这时候的方法就是换到chrome了,如果你没装过,那么可以按照这里的方法去安装,如果已经安装了,也建议按照这里的方法去排查可能出现的问题, For Linux Check you have inst…
1. where to load dynamic so: (rpath isdetermined and recorded when compiling, it is also used to find dynamic library) https://unix.stackexchange.com/questions/22926/where-do-executables-look-for-shared-objects-at-runtime The shared library HOWTO e…
install calltree: download from http://linux.softpedia.com/progDownload/calltree-Download-971.html for linux, Check READ.linux to compile and install, very simple!!! then copy calltree/OBJ/i686-linux-cc/calltree to /usr/bin granphviz: i used "sudo yu…
python中连接oracle数据库使用第三方库文件cx_Oracle时遇到了各种问题,网上查找资料调试了几天才弄好,下面是不断调试后总结的一些经验.1.oracle客户端(Oracle Instant Client)版本需要和操作系统版本位数相同,同时cx_Oracle官方文档(http://cx-oracle.readthedocs.io/en/latest/installation.html)上有这样一段话 Version 12.2 client libraries can connect…
source: http://linoxide.com/linux-shell-script/shell-script-check-linux-system-health/ This article introduces a shell script to perform linux system health check.This script collects system information and status like hostname, kernel version, uptim…
Memory Usage On linux, there are commands for almost everything, because the gui might not be always available. When working on servers only shell access is available and everything has to be done from these commands. So today we shall be checking th…
On the internet you will find plenty of tools for checking disk space utilization in Linux. However, Linux has a strong built in utility called ‘df‘. The ‘df‘ command stand for “disk filesystem“, it is used to get full summary of available and used d…
The number of CPU instruction sets has kept growing, and likewise for the operating systems which are able to run and support on more than one CPU system architecture. For example, a Linux OS such as Ubuntu, Fedora, Redhat, Linux Mint, Debian, Arch L…