Monday, April 4, 2011

[Linux Ubuntu] How to Check Disk and Swap Utilization

Disk and swap is a couple. When disk is full and he needs help, swap will ready to server :). How can we observe these two components of our server? Still employing sar, here is the code:
sar -d 1
sar -S 1
Parameter -d and -S for disk and swap, respectively. They will show us how many percent disk utilization or swap used. Enjoy!

No comments: