sar

CPU

  • Every 10 seconds
sar 10
  • Every 60 seconds for 5 minutes
sar 60 5
  • Show single cores
sar -P ALL

Load

sar -q

Mem and swap

sar -rS

Disk

sar -bd

Network

sar -n ALL

Inodes and file descriptors

sar -v

Processes

sar -w

Continuos monitoring

/usr/lib/sa/sadc 60 -
  • Logs can now be found in /var/log/sa
  • Show all logs from current day
sar -f -