pavement

Iostat

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
Line 9: Line 9:
 
Note that the very first line of output refers to the average of all I/O activity on each device averaged over the entire time the system has been up, whereas succeeding lines refer to the activity between the time that line is written and the time the last line was written.
 
Note that the very first line of output refers to the average of all I/O activity on each device averaged over the entire time the system has been up, whereas succeeding lines refer to the activity between the time that line is written and the time the last line was written.
  
see also: [[netstat]], [[fstat]]
+
see also: [[fstat]], [[netstat]]
  
 
[[Category:System Commands]]
 
[[Category:System Commands]]

Revision as of 14:59, 15 June 2007

iostat is a tool which allows you to monitor I/O statistics, such as the amount of data transferred over file devices or the console.

Handy arguments:

iostat -t da - only show stats for Direct Access devices; ie hard drives and the like.
iostat -w 1 - repeat stat display once per second.
iostat -K - use Kilobytes as the display block size, rather than whatever unit is native to the device in question.

Note that the very first line of output refers to the average of all I/O activity on each device averaged over the entire time the system has been up, whereas succeeding lines refer to the activity between the time that line is written and the time the last line was written.

see also: fstat, netstat

Personal tools