Nova 知识库

Nova知识库

这里记录了一些我的生活,工作,学习,以及一些复杂的”社会”心情,从我的眼睛里迸射出来的社会动态…

学会等待,学会忍耐,学会等待,等待可以让自己心情之路走的更长,让自己更宽容的去包容他人…

最近更新

iostat 使用方法

iostat –kx 2 50


-k     Display  statistics  in kilobytes per second instead of blocks per second.  Data displayed are valid only
              with kernels 2.4 and newer.
-x     Display extended statistics.  This option is exclusive of the -p and -n, and works with post 2.5  kernels
              since  it  needs /proc/diskstats file or a mounted sysfs to get the statistics. This option may also work
              with older kernels (e.g. 2.4) only if extended statistics are available in /proc/partitions  (the  kernel
              needs to be patched for that).

       iostat
              Display a single history since boot report for all CPU and Devices.

       iostat -d 2
              Display a continuous device report at two second intervals.

       iostat -d 2 6
              Display six reports at two second intervals for all devices.

       iostat -x hda hdb 2 6
              Display six reports of extended statistics at two second intervals for devices hda and hdb.

       iostat -p sda 2 6
              Display six reports at two second intervals for device sda and all its partitions (sda1, etc.)