Wednesday 10 December 2014

SAR linux utility

Linux SAR - System Activity Report:
Monitoring how host is performing using sar command is best way check in case of any performance issue
It help give all report regarding.

  • RAM
  • Swap
  • Buffer/Cache
  • Run Queue
  • CPU
  • Network


1) RAM Usage
sar -r 5
2) Swap Usage
sar -S 5
3) Swap in swap out
sar -W 5
4) Buffer activity
sar -b 5
5) Load queue
sar -q 5
6) Load by CPU
sar -u 5
6) Network Traffic
sar -n DEV 5
DEV for eth0 and bond0 
other option TCP - Traffic