[Email protected] ~]# W
17:52:51 up 2 days, 1:23, 1 user, Load average:0.00, 0.00, 0.00
Time runs for several hours a few users 1 minutes load 5 minutes load 15 min load
USER TTY from [email protected] IDLE jcpu PCPU
Root pts/0 192.168.100.5 17:50 1.00s 0.86s 0.67s W
Explanation of the load 1/5/15 minutes There are several processes using the CPU
[Email protected] ~]# uptime
18:08:00 up 2 days, 1:38, 1 user, Load average:0.00, 0.00, 0.00
[Email protected] ~]# Cat/proc/cpuinfo
Processor: 0
vendor_id: Genuineintel
CPU Family: 6
Model: 42
Model name: Intel (R) Core (TM) i5-2450m CPU @ 2.50GHz
Stepping: 7
CPU MHz: 2494.389
Cache size: 3072 KB
Fdiv_bug: No
Hlt_bug: No
F00f_bug: No
Coma_bug: No
FPU: Yes
Top
TOP-BN1 Static Display
[Email protected] ~]# Vmstat
procs-----------Memory-------------Swap-------io------System-------CPU-----
Idle write disk cache in interchange
Running a blocking buffer
R b swpd free buff cache si so bi bo in CS us sy ID WA St
0 0 0 108040 119152 682536 0 0 4 4 13 13 0 0 100 0 0
Vmstat 1 shows once every second
Vmstat 1 10 Display once every second, 10 times in total
Iotop
[Email protected] ~]# Iotop
Total DISK read:0.00 b/S | Total DISK write:0.00 b/S
TID PRIO USER disk READ disk WRITE swapin io> COMMAND
1 BE/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% Init
2 BE/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% [Kthreadd]
3 RT/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% [migration/0]
4 BE/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% [ksoftirqd/0]
5 RT/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% [migration/0]
6 RT/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% [watchdog/0]
7 BE/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% [events/0]
8 BE/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% [Cgroup]
9 BE/4 root 0.00 b/S 0.00 B/s 0.00% 0.00% [Khelper]
Iostat
[Email protected] ~]# Iostat
Linux 2.6.32-431.el6.i686 (Bogon) January 05, 2017 _i686_(1 CPU)
AVG-CPU:%user%nice%system%iowait%steal%idle
0.03 0.02 0.11 0.17 0.00 99.67
Device:tps blk_read/s blk_wrtn/s Blk_read Blk_wrtn
SDA 0.41 8.35 8.57 1527132 1567892
SCD0 0.00 0.00 0.00 400 0
Sar-n DEV 1 10 shows 10 network card traffic
Sar-b 1 10 View disk IO
Sar-q-f/var/log/sa/sa04 View Log number 4th
Ps-eo PID,GRGS,PSR See which process is running on which CPU
Linux Daily Management 1