Linux process real-time monitoring-htophtop is a process viewer that allows users to interact with it. 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 and customization supported. Compared with top, htop provides real-time monitoring of... Linux processes-htop is a process viewer that allows users to interact with it. 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 and customization supported. Compared with top, htop has the following advantages: you can scroll through the process list either horizontally or vertically to view all processes and complete command lines. It is faster than top at startup. You do not need to enter a process number when killing a process. Htop supports mouse operations. Top is very old. In CentOS, you can install htop using yum install htop. before installation, you must install RepoForge! The yum source, http://pkgs.repoforge.org/rpmforge-release/ in htop, press the space key can be marking multiple processes, uniform operation, such as killing multiple processes in batch, 'u' unmark. Press 'L' to monitor the files opened by the process, press 'esc 'to exit, and press 's' to display all system calls of the process, provided that strace is installed in the system.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.