SysLog.gr

SysLog.gr

System Statistics

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

Display Virtual Memory Statistics with vmstat

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

Comments are Closed

© 2017: SysLog.gr | Easy Theme by: D5 Creation | Powered by: WordPress