Quickly View Processor Usage From Ubuntu Command Line

It is simple to view the per processor usage and statistics in Ubuntu just using the command line. To do this, first install sysstat using the following Terminal command : sudo apt-get install sysstat After it is installed, mpstat is the command to view the processor usage. To display the average CPU utilization per processor, simply type : mpstat -P ALL The above example shows a dual processor system....

Quickly Find The Username Of Originally Logged In User Using Linux Command Line

When using Linux Terminal (either in Ubuntu, Linux Mint or any other distribution) it is possible that the current user working at the Terminal will be different then the one that originally logged in. The below command will display the username that originally logged in to the system. logname To know who is the current user at the Terminal, type : whoami Both these commands can display different user...