Linux is a multi-user, multi-tasking operating system. In such a system, the allocation and management of various computer resources (such as files, memory, CPU, etc.) are in the process unit, and the process is a life cycle, a program is submitted to the kernel and run up, this is a process, and my server may run a lot of processes at the same time, these processes occupy more or less resources, The user running the process is also different, the priority between the processes are not the same, and the process has a number of states, at this time we need a software, we can get the various processes occupy the system resources, the current system is still the amount of resources left, which is the use of process management tools, This article lists three very powerful process management tools, which are described below:
First, Htop
Htop official website:http://htop.sourceforge.net/
Htop is more user-friendly than the traditional Linux top. It allows users to interact interactively, support color themes, scroll through the list of processes horizontally or vertically, and support mouse actions.
Compared to top, Htop has the following advantages:
You can scroll through the list of processes horizontally or vertically to see all the processes and the complete command line.
On startup, it's faster than top.
Process number is not required to kill the process.
Htop supports mouse operation.
Top is already very old.
1, installation Htop
You can install it via the Yum install Htop, but only if you want to add Epel's Yum source, Epel is the following description?
What is EPEL?
The EPEL (Extra Packages for Enterprise Linux, an additional software package for Enterprises Linux) is a repository project maintained by the Fedora team, providing Rhel/centos with packages that they do not provide by default. This source is compatible with Rhel and derivative versions such as CentOS and Scientific Linux.
Htop package By default, the system is not installed, and Htop is the EPEL source provided by the program, so we want to install htop need to install EPEL source first;
# RPM-IVH http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm # RPM--import/etc/pki/ Rpm-gpg/rpm-gpg-key-epel//Import KEY # yum install htop# htop
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/76/wKiom1SDC4jBvvrzAAozrh41TJ8093.jpg "title=" 2014-12-06_213621.png "alt=" Wkiom1sdc4jbvvrzaaozrh41tj8093.jpg "/>
This article is from "the days when those tumultuous left." "Blog, be sure to keep this provenance http://linuxzj.blog.51cto.com/6160158/1587186
Process management tools Htop, Glances, Dstat