Skip to content

Instantly share code, notes, and snippets.

@milabs
Created December 6, 2013 09:11
Show Gist options
  • Save milabs/7820818 to your computer and use it in GitHub Desktop.
Save milabs/7820818 to your computer and use it in GitHub Desktop.
CPU usage statistics with SAR
sar -u 1 | grep --line-buffered all | awk -W interactive '{printf("%s %s\n", $1, $5);}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment