Last Updated on Monday, 18 February 2008 21:45 Written by cram Monday, 11 June 2007 13:31
Here are some system statistics that you might find useful!
Display Kernel Statistics with kstat
The kstat command is a handy command for providing kernel statistics to users. For each matching statistic, it reports the instance, module, name fields and actual values. Here are some examples of its use.
#kstat | more
#kstat -p | grep cpu
#kstat -m cpu_info
#kstat -n cpu_stat0
#kstat -s dfree
Do a listing
#kstat -l | more
Display Input and Output (I/O) Statistics with iostat
The input and output (I/O) statistics (iostat) command shows statistics regarding terminal, disk, tape, and CPU activity. I primarily use it in the extended format to monitor CPU and hard disk stats. Here's an example of its use at 3 second intervals.
#iostat 3
#iostat -ctx 3
The virtual memory statistics (vmstat) command shows statistics regarding process, virtual memory, disk, trap, and CPU activity.I primarily use it for CPU stats. Here's an example of its use at 3 second intervals.
#vmstat 3
| < Prev | Next > |
|---|


