[root@localhost optback]# sar -b 1
Linux 3.10.0-54.0.1.el7.x86_64 (localhost.localdomain) 17/03/14 _x86_64_ (1 CPU)
23:02:44 tps rtps wtps bread/s bwrtn/s
23:02:45 0.00 0.00 0.00 0.00 0.00
23:02:46 0.00 0.00 0.00 0.00 0.00
23:02:47 0.00 0.00 0.00 0.00 0.00
23:02:48 0.00 0.00 0.00 0.00 0.00
23:02:49 0.00 0.00 0.00 0.00 0.00
23:02:50 0.00 0.00 0.00 0.00 0.00
23:02:51 0.00 0.00 0.00 0.00 0.00
23:02:52 0.00 0.00 0.00 0.00 0.00
23:02:53 0.00 0.00 0.00 0.00 0.00
23:02:54 0.00 0.00 0.00 0.00 0.00
23:02:55 0.00 0.00 0.00 0.00 0.00
23:02:56 1.00 0.00 1.00 0.00 16.00
^C
23:02:57 0.00 0.00 0.00 0.00 0.00
Average: 0.08 0.00 0.08 0.00 1.27
[root@localhost optback]# sar -P 0 1
Linux 3.10.0-54.0.1.el7.x86_64 (localhost.localdomain) 17/03/14 _x86_64_ (1 CPU)
23:03:08 CPU %user %nice %system %iowait %steal %idle
23:03:09 0 0.00 0.00 1.98 0.00 0.00 98.02
23:03:10 0 0.00 0.00 0.00 0.00 0.00 100.00
23:03:11 0 1.00 0.00 1.00 0.00 0.00 98.00
23:03:12 0 0.00 0.00 1.00 0.00 0.00 99.00
23:03:13 0 0.00 0.00 1.02 0.00 0.00 98.98
23:03:14 0 0.00 0.00 0.00 0.00 0.00 100.00
23:03:15 0 0.00 0.00 0.00 0.00 0.00 100.00
23:03:16 0 0.00 0.00 1.00 0.00 0.00 99.00
^C
23:03:17 0 0.00 0.00 0.00 0.00 0.00 100.00
Average: 0 0.11 0.00 0.68 0.00 0.00 99.21
[root@localhost optback]# mpstat 1 5
Linux 3.10.0-54.0.1.el7.x86_64 (localhost.localdomain) 17/03/14 _x86_64_ (1 CPU)
23:11:38 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
23:11:39 all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
23:11:40 all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
23:11:41 all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
23:11:42 all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
23:11:43 all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
Average: all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
[root@localhost optback]# mpstat -P ALL 2 1
Linux 3.10.0-54.0.1.el7.x86_64 (localhost.localdomain) 17/03/14 _x86_64_ (1 CPU)
23:12:10 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
23:12:12 all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
23:12:12 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
Average: CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
Average: all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
Average: 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
[root@localhost optback]# iostat -x sda 1 3
Linux 3.10.0-54.0.1.el7.x86_64 (localhost.localdomain) 17/03/14 _x86_64_ (1 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.53 0.01 0.36 0.00 0.00 99.09
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0.02 0.03 0.37 0.24 8.24 1.78 32.91 0.00 0.94 0.50 1.62 0.55 0.03
avg-cpu: %user %nice %system %iowait %steal %idle
0.00 0.00 1.00 0.00 0.00 99.00
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0.00 0.00 1.00 0.00 8.00 0.00 16.00 0.00 1.00 1.00 0.00 1.00 0.10
avg-cpu: %user %nice %system %iowait %steal %idle
0.00 0.00 0.00 0.00 0.00 100.00
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
[root@localhost optback]# iostat -x sdb 1 3
Linux 3.10.0-54.0.1.el7.x86_64 (localhost.localdomain) 17/03/14 _x86_64_ (1 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.53 0.01 0.36 0.00 0.00 99.09
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sdb 0.02 0.00 0.02 0.00 0.06 0.79 87.45 0.00 0.20 0.14 0.43 0.18 0.00
avg-cpu: %user %nice %system %iowait %steal %idle
0.00 0.00 0.00 0.00 0.00 100.00
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
avg-cpu: %user %nice %system %iowait %steal %idle
0.00 0.00 0.99 0.00 0.00 99.01
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
[root@localhost optback]# vmstat
procs ———–memory———- —swap– —–io—- -system– —-cpu—-
r b swpd free buff cache si so bi bo in cs us sy id wa
3 0 0 6534488 2376 565636 0 0 8 3 47 90 1 0 99 0
[root@localhost optback]# vmstat 1 10
procs ———–memory———- —swap– —–io—- -system– —-cpu—-
r b swpd free buff cache si so bi bo in cs us sy id wa
3 0 0 6534488 2376 565640 0 0 8 3 47 90 1 0 99 0
0 0 0 6534464 2376 565640 0 0 0 0 44 81 0 0 100 0
0 0 0 6534464 2376 565640 0 0 0 0 45 81 0 1 99 0
0 0 0 6534464 2376 565640 0 0 0 0 47 90 0 1 99 0
0 0 0 6534464 2376 565640 0 0 0 0 41 75 0 0 100 0
1 0 0 6534464 2376 565640 0 0 0 0 152 95 10 0 90 0
0 0 0 6534464 2376 565640 0 0 0 0 93 142 5 1 94 0
0 0 0 6534464 2376 565640 0 0 0 0 50 99 0 0 100 0
1 0 0 6534464 2376 565640 0 0 0 0 40 74 0 1 99 0
0 0 0 6534464 2376 565640 0 0 0 0 39 81 0 0 100 0
[root@localhost optback]# vmstat 1 -S M
procs ———–memory———- —swap– —–io—- -system– —-cpu—-
r b swpd free buff cache si so bi bo in cs us sy id wa
3 0 0 6381 2 552 0 0 8 3 47 90 1 0 99 0
0 0 0 6381 2 552 0 0 0 0 43 83 0 0 100 0
0 0 0 6381 2 552 0 0 0 0 48 91 0 0 100 0
0 0 0 6381 2 552 0 0 0 0 51 106 1 0 99 0
0 0 0 6381 2 552 0 0 0 0 40 71 0 0 100 0
0 0 0 6381 2 552 0 0 0 0 42 88 0 0 100 0
0 0 0 6381 2 552 0 0 0 18 48 83 0 1 99 0
0 0 0 6381 2 552 0 0 0 0 47 90 0 0 100 0
0 0 0 6381 2 552 0 0 0 0 58 99 0 1 99 0
Recent Comments