The system activity reporter or sar command is useful in reporting system resource utilization. It can report on CPU, disk, and virtual memory use. Here are some examples.
Three samples for every 5 seconds
For CPU utilization
# sar 5 3
For disk utilization
# sar -d 5 3
For virtual memory utilization
#sar -g 5 3
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Subscribe to:
Post Comments (Atom)
3 comments:
Thanks, very nice and useful tool. Try also "sag" for graphical presentation of data gathered by sar.
thanks for the tip lordmac
I use it with isag :)
Post a Comment