Using SSH’s ControlMaster feature you can give password only for the first session in a multiple ssh sessions. This lets you share multiple SSH sessions over a single network connection.
[click to continue…]
As you already know, the following cd command example will display all the available directories that begin with lower-case m.
[click to continue…]
Renice alters the scheduling priority of a running process.
[click to continue…]
Kernel decides how much processor time is required for a process based on the nice value. Possible nice value range is: -20 to 20. A process that has a nice value of -20 is very high priority. The process that has a nice value of 20 is very low priority.
[click to continue…]
Linux kernel parameter can be changed on the fly using sysctl command. Sysctl helps to configure the Linux kernel parameters during runtime.
[click to continue…]
Netstat command displays the network related information such as network connections, routing tables, interface statistics. Following are few examples on how to use netstat command.
[click to continue…]
For a typical performance monitoring all you need is only vmstat command. This display memory, swap, IO, system and cpu performance information.
[click to continue…]
Sar commands comes with the sysstat package. Make sure sysstat is installed. If you don’t have sar installed on your system, get it from Sysstat project.
[click to continue…]
Lsof stands for ls open files, which will list all the open files in the system. The open files include network connection, devices and directories. The output of the lsof command will have the following columns:
[click to continue…]
du command (disk usage) will print the file space usage for a particular directory and its subdirectories.
[click to continue…]