htop:Interactive Process Viewer (interactive progress Viewer)
Htop: is a more powerful process management tool than the top, the default system is not installed, the user should choose to install, here the Yum warehouse configuration can be see the use of the previous blog Yum, and then directly execute the following installation command:
# yum Install Htop-y
The following interface appears in Htop:
650) this.width=650; "title=" Htop.png "src=" http://s3.51cto.com/wyfs02/M01/6B/72/wKioL1UuE_ Ftyww9aabzlneimtk902.jpg "alt=" Wkiol1uue_ftyww9aabzlneimtk902.jpg "/>
We can see: The upper left shows the CPU, memory, swap usage, the right shows the task, load, boot time, the following is the status of the process,
Bottom function, F1: Help F2: Set F3: Search process F4: Incremental process F5: Display F6 in a tree structure: choose Sort by F7: Reduce process priority F8: Increase process priority F9,: input signal to process, F10,: Exit Htop,
involves common commands
Interactive commands:
U: Filter the process that displays the specified user
S: Tracks system calls initiated by the selected process
L: Displays the files opened by the selected process
T: Show hierarchy of processes
A: Sets the CPU affinity of the process (binds the selected process to the specified CPU)
Common options
-D #: Delay duration
-U USERNAME: Displays only the processes of the specified user
-S COLUMN: Sort according to the specified field
glances: A cross-platform curses-based monitoring Tool (cross-platform monitoring tools), the sample needs to be installed by users themselves.
650) this.width=650; "title=" Gla.png "src=" http://s3.51cto.com/wyfs02/M00/6B/72/ Wkiol1uugamcgmtwaaurop7u6c8871.jpg "alt=" Wkiol1uugamcgmtwaaurop7u6c8871.jpg "/>
Glances can provide Unix and Linux performance experts with the ability to monitor and analyze performance data, including:
CPU usage
Memory usage
Kernel statistics and running queue information
Disk I/O speed, transmission, and read/write ratios
Free space in the file system
Disk Adapter
Network I/O speed, transmission, and read/write ratios
Page space and page speed
The process that consumes the most resources
Computer Information and system resources
Synopsis:
glances [-BDEHMNRSVYZ1] [-B bind] [-C Server] [-C conffile] [-P port] [-p password] [--password]
[-T Refresh] [-F file] [-O output]
Common options:
-B: Display network card device data exchange rate in BYTE/S units
-D: Turn off the disk I/O function module
-f/path/to/somefile: Setting the location and format of the output file
-o:{html| CSV}
-M: Turn off the Mount function module
-N: Turn off network function module
-r: Close Process List Function module
-T #: Specify the length of delay, default is 3s
-1: Display each CPU-related load data information separately
Glances supports remote mode: that is, it can work in C/s mode:
Server: Start glances in listening mode
Client: Start glances in remote mode, connect to the specified server remotely, and display the correlation performance data on the server;
Server mode: glances-s-B ipaddr
-B: Used to indicate the local address of the listener
Client mode: Glances-c ipaddr
-C: The address of the server used for the connection
Dstat: Versatile tool for generating system resource statistics (multifunction Systems resource Statistics Generator)
Integrates features of the Vmstat,iostat,netstat and ifstat four tools
650) this.width=650; "title=" Ds.png "src=" http://s3.51cto.com/wyfs02/M01/6B/77/wKiom1UuGQyC200sAAEA0jrSxsM347.jpg "alt=" Wkiom1uugqyc200saaea0jrsxsm347.jpg "/>
-CPU-,-disk-,-net-,-paging-,-system-data is collected by default
Synopsis:
Dstat [-AFV] [options:] [Delay [Count]]
-C: Display statistics related to CPU performance metrics
-D: Show disk-related rate data
-G: Displays the rate data related to page (memory pages)
-I: Show interrupt related rate data
-L: Show statistics related to load average
-M: Show memory-related statistics
-N: Shows the rate of data sent to and from the network
-P: Show process-related statistics
Rate of-r:io requests
-S: Show data about swap
-Y: Displays system-related data, including interrupts and process transitions
650) this.width=650; "title=" 1.png "src=" Http://s3.51cto.com/wyfs02/M00/6B/72/wKioL1UuG6ej0IBTAABsRB6HtZo744.jpg " alt= "Wkiol1uug6ej0ibtaabsrb6htzo744.jpg"/> (example 1)
--TOP-CPU: Shows the process that accounts for the most CPU
--top-bio: Shows the process that consumes block IO most
--top-io: Most IO-intensive process
--top-mem: Show the most memory-intensive processes
--IPC: Show rate data related to interprocess communication
--raw: Displaying data related to raw sockets
--TCP: Displaying data related to TCP sockets
--UDP: Displaying data related to UDP sockets
--unix: Displaying statistics related to UNIX sock interfaces
--socket: Equivalent to--raw 、--TCP 、--UDP concurrent use
-A: Equivalent to-cdngy (CPU, disk, network, page, System)
650) this.width=650; "title=" 2.png "src=" Http://s3.51cto.com/wyfs02/M01/6B/72/wKioL1UuG7_wUhXVAAA3BJdK3jw787.jpg " alt= "Wkiol1uug7_wuhxvaaa3bjdk3jw787.jpg"/> (Example II)
Use of the Process management tool Htop/glances/dstat