Hướng dẫn kiểm tra tốc độ IO của máy chủ
$ dstat -tdD total,sda,sdb,sdc,md1 60
----system---- -dsk/total----dsk/sda-----dsk/sdb-----dsk/sdc-----dsk/md1--
time | read writ: read writ: read writ: read writ: read writ
08-11 22:08:17|3549k 277k: 144k 28k: 851k 62k: 852k 60k: 25k 82k
08-11 22:09:17| 60k 258k:1775B 15k: 13k 63k: 15k 60k: 68B 74k
08-11 22:10:17| 176k 499k: 0 14k: 41k 122k: 41k 125k: 273B 157k
08-11 22:11:17| 42k 230k: 0 14k:9830B 54k: 14k 51k: 0 70k
08-11 22:11:52| 28k 132k: 0 5032B:5266B 33k:9479B 28k: 0 37k
-t
for timestamps-d
for disk statistics-D
to specify the exact devices to report-
60
to average over 60 seconds. The display is updated every second, but only once per 60 seconds a new line will be started. -
not used in this example, but
-c
can report wait IO percentage, which in most cases is related to the CPU waiting for data from the disks.
Was this answer helpful?
Also Read
Powered by WHMCompleteSolution