Skip to content

Instantly share code, notes, and snippets.

@windows98SE
Created April 27, 2014 06:33
Show Gist options
  • Save windows98SE/11338947 to your computer and use it in GitHub Desktop.
Save windows98SE/11338947 to your computer and use it in GitHub Desktop.
download upload
sar -n DEV 1 7 | grep -i 'average.*en0'| awk '{printf "Download: %.2f Kbps\nUpload: %.2f Kbps\n", $4 / 1024, $6 / 1024 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment