2011-02-07

FreeBSD - How to check device or CPU performance

Platform :
FreeBSD

Purpose :
Monitoring disk read/write activity.

Command :
iostat


Installation :
The "iostat" command comes with the base installation.

Useful switches :
-w == update frequency, in seconds
-d == only show devices, hdd related
-C == show CPU activity only

Example :
  • display hard disk activity
    iostat -d -w1
  • display only a particular hard disk activity
    iostat -d -w1 ad0
  • display only CPU activity
    iostat -C -w1

Others :
For more info on what does the header means, chekc out the manual pages for iostat

Shalom !!!

No comments: