User Tools

Site Tools


wiki:iostat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:iostat [2017/04/28 07:11] walkeradminwiki:iostat [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
 ---- ----
-<color #ed1c24>IOStat</color> gives information about the disk activity in a Linux environment. Useful information such as disk reads/writes and activity (% busy). +<color #ed1c24>IOStat</color> gives information (disk performance) about the disk activity in a Linux environment. Useful information such as disk reads/writes and activity (% busy). 
 \\  \\ 
 \\  \\ 
Line 15: Line 15:
 <sxh [text][; options for SyntaxHighlighter]> <sxh [text][; options for SyntaxHighlighter]>
 iostat iostat
 +
 avg-cpu:  %user   %nice %system %iowait  %steal   %idle avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           33.60    0.00    0.50    0.02    0.00   65.87           33.60    0.00    0.50    0.02    0.00   65.87
Line 25: Line 26:
 dm-2              0.00         0.00         0.00       2178         24 dm-2              0.00         0.00         0.00       2178         24
 </sxh> </sxh>
 +\\ 
 +We can use another command line to get periodica.<color #ed1c24>iostat</color> updates <color #ed1c24>iostat 10 -x</color>
 +\\ 
 +<sxh [text][; options for SyntaxHighlighter]>
 +iostat 10 -x
  
  
 +avg-cpu:  %user   %nice %system %iowait  %steal   %idle
 +          33.61    0.00    0.50    0.02    0.00   65.86
  
 +Device:         rrqm/  wrqm/    r/    w/  rsec/  wsec/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
 +sda               0.00   132.62    0.00    7.36     0.19  1112.07   151.05     0.05    6.75    2.34    6.75   3.01   2.22
 +sdb               0.00     0.00    0.00    0.00     0.00     0.00     8.00     0.00    0.18    0.18    0.00   0.18   0.00
 +dm-0              0.00     0.00    0.00  139.01     0.19  1112.07     8.00     0.71    5.13    3.92    5.13   0.16   2.22
 +dm-1              0.00     0.00    0.00    0.00     0.00     0.00     8.00     0.00    1.42    1.42    0.00   0.60   0.00
 +dm-2              0.00     0.00    0.00    0.00     0.00     0.00     7.92     0.00    0.59    0.51    5.00   0.44   0.00
 +</sxh>
 +\\ 
 +\\ 
  
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
-<sxh [text][; options for SyntaxHighlighter]> 
-</shx> 
wiki/iostat.1493359878.txt.gz · Last modified: 2023/03/09 22:35 (external edit)