Linux Process View and management ( 2 )
Htop
Interactive commands:
u: Filter
S: a system call initiated by a process that tracks the selection
L: Show files opened by the selected process
T: show the number of levels of a process
A: of the Set process CPU (binds the selected process to the specified CUP on)
Options:
- D #: Delay Duration
- u username: Show only specified users
Vmstat
Procs
R : Process Queue Length waiting to run
B: handle non-disruptive sleep states ( IO blocking queue)
Memory :
SWPD: Swap Memory Usage
Free : The amount of physical memory in space
Buffer : For Buffer The total amount of memory
Cache : For Cache The total amount of memory
Swap :
si: Data Entry Swap Medium Rate ( kb/s )
So : Data left Swap The rate ( kb/s )
Io:
BI: the rate at which the block device reads data into the system ( kb/s )
Bo: the rate at which data data is saved to the block device ( kb/s )
System
In : Interrupt Rate
CS: rate of process switching
Cpu
us
Sy:
Id:
Wa
St:
Glances
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}
-N: Turn off network function module
-M: turn off the Mount module function
-r: close process list function Module
-T #: Specifies the length of delay, which defaults to a few seconds
-1: Display each CPU- related load data information separately
Glances supports remote mode:
that can work in C /s mode:
Dstat: Integrated with Vmstata,iostat,netstat andifstat Four tool functions
-C : Displays statistics related to CPU performance metrics:
-D: show disk -related rate data
-G: show page -related rate data
-I: show Interrup related rate data
-L: show statistics related to load average
-M: show memory -related statistics
-N: Displays the data rate of the network transceiver
--TOP-CPU: Displays the most CPU -intensive processes:
--IPC: Show rate data related to interprocess communication
-a:-cdngy
Linux process viewing and management