Skip to content

Instantly share code, notes, and snippets.

@vitalbh
Created November 10, 2015 22:32
Show Gist options
  • Save vitalbh/2e23604a976d76c65ca8 to your computer and use it in GitHub Desktop.
Save vitalbh/2e23604a976d76c65ca8 to your computer and use it in GitHub Desktop.
awk '{ if (/Tcp:.[0-9]/ == 1) {print "actives: " $10 } }' /proc/net/snmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment