FreeBSD - How to check device or CPU performance

Platform :

Purpose :
Monitoring disk read/write activity.

Command :

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: