"Involving Tools"
Top synthesis, partial CPU and memory
Dstat Integrated, partial disk
Pidstat
Iostat Disk IO Global
Iotop disk IO Accurate to process
Iftop Network, Fact refresh
SS replaces Netstat and is faster
"View CPU status-design involves metrics"
1 CPU Usage: User system
2 CPU Cumulative usage duration
3 Interrupt Context Switch, etc. (not many use)
CPU View tool Top Dstat
Top
Options
-bn1
-C View full command
TOP-BN1C one record at the end and Print command all commands
Instructions
1 complete list of all CPU cores
P sort by CPU high and low
M sort based on memory height
T Sort by run time
Highlight of Row B
Highlight of x Column
SHIFT + < or > change the highlighted sort column
H Help Information
Dstat (Python script)
DSTAT-LCM--TOP-CPU
"View memory status-design related indicators"
Focus Point:
Whether to use swap memory
How much memory space is consumed by each process
Top
Free
Dstat Lcmd--top-mem
"View disk status-design involves metrics"
Tip: Disk performance bottlenecks are more difficult to exclude, do not want the CPU and memory as more obvious look out.
Indicators of concern
1 read/write volume/s dstat iotop pidstat accurate to process
2 delay time per read and write Iostat (global)
Read read and write volume Iostat-x 1
See the delay effect is generally used Dstat (unit comparison of human nature finishing)
View that process using IO up to Iotop
Total DISK read:7.02/s | Total DISK write:3.12/s
Several reference values in the Iostat:
SVCTM < await (the same waiting time is repeatedly calculated). If SVCTM is closer to Awati, the IO has almost no waiting time. If the await is far greater than SVCTM, the IO queue is too long.
Await: The average time to wait (in milliseconds) per Device IO operation. Delta (ruse+wuse)/delta (Rio+wio)
SVCM: The average time per Device IO operation Service (milliseconds) is counted as an await
%util The amount of time in a second for an IO operation, or how much time in a second the IO queue is non-empty.
This article is from "Swallow Lie triple" blog, please be sure to keep this source http://cuidehua.blog.51cto.com/5449828/1867088
Linux System Performance analysis tool and navigate to specific processes