Top and htop

From BITS wiki
Jump to: navigation, search

top is the default system command but for your convenience, the nicer htop can be installed using 'apt-get' or 'yum'.

After installing it, type 'htop' in the terminal and you will get something like this:


htop_screen.png

The top part shows each cpu activity while the bottom lines detail each running process in full details. Menu keys allow more control.

More information on how to use htop can be found here ([1]).

# start htop with additional parameters
-d DELAY #Delay between updates, in tenths of seconds
-u USERNAME #Show only processes of a given user
--sort-key COLUMN #Sort by this column (use --sort-key help for a column list)
 
To exit the tool, press 'q' or close the command-line terminal.

References:
  1. http://linux.die.net/man/1/htop



[ Main_Page ]