I think there may be a lot of friends who use top in Linux, but there are few htop users. There are a lot of articles on firewall configuration in Ubuntu on the Internet, which is troublesome for new users. Htop is a fully interactive command line process viewer in Linux (which can be run in Ubuntu). htop is better than top. As a text-mode application, it is mainly used in the console or X terminal. Currently, the process can be viewed in a tree, with color themes, customization, and other features supported. Main advantages include:
I think there may be a lot of friends who use top in Linux, but there are few htop users. There are a lot of articles on firewall configuration in Ubuntu on the Internet, which is troublesome for new users. Htop is a fully interactive command line process viewer in Linux (which can be run in Ubuntu). htop is better than top. As a text-mode application, it is mainly used in the console or X terminal. Currently, the process can be viewed in a tree, with color themes, customization, and other features supported.
Main advantages include:
1. You can scroll vertically and horizontally to view all processes and complete command lines.
2. As long as it is located, htop can directly kill and renice the process without hitting the process number.
3. Support for mouse (ncurses required)
In Ubuntu, we can install sudo apt-get install htop command.
Installation Process:
Linuxidc @ linuxidc-laptop :~ $ Sudo apt-get install htop
Reading the package list... complete
Analyzing the dependency tree of the software package
Reading status information... complete
The following [new] software packages will be installed:
Htop
A total of 0 software packages have been upgraded, 1 new software package has been installed, 0 software packages have to be uninstalled, and 43 software have not been upgraded.
Download the 52.7kB software package.
After decompression, the extra space of KB is consumed.
Get: 1 http://cn.archive.ubuntu.com intrepid/universe htop 0.8-0ubuntu1 [52.7kB]
Download 52.7kB, which takes 2 s (25.5kB/s)
The software package htop that has been deselected is selected.
(Reading the database... the system currently has a total of 119576 files and directories installed .)
Extracting htop (from.../htop_0.8-0ubuntu1_i386.deb )...
Processing the trigger for man-db...
Processing the trigger for menu...
Setting htop (0.8-0ubuntu1 )...
Processing the trigger for menu...
After installation, see open Htop (SEE)
Htop runs in Ubuntu as follows. (See)
The upper left corner shows the CPU, memory, and swap zone usage, and the right side shows the task, load, and boot time. The following shows the real-time process status.
Click HELP to display the HELP:
Common commands:
/: Search name, for example, search for ssh
T: display the Tree Structure
U: displays the process of a user. Select a user on the left.
H: Show Help
H: Display/hide user threads
K: Display/hide kernel threads