Skip to content

Instantly share code, notes, and snippets.

@jiminoc
Created September 24, 2014 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jiminoc/e416adb483c4fdbb2f03 to your computer and use it in GitHub Desktop.
Save jiminoc/e416adb483c4fdbb2f03 to your computer and use it in GitHub Desktop.
jim@localhost: ~/temp
➺ fab stats -H 100.100.1.113,100.100.2.220 -P -f fab-count.py
[100.100.1.113] Executing task 'stats'
[100.100.1.113] Executing task 'get_stats'
[100.100.2.220] Executing task 'get_stats'
[100.100.2.220] sudo: lsof -i -sTCP:ESTABLISHED | wc -l
[100.100.1.113] sudo: lsof -i -sTCP:ESTABLISHED | wc -l
[100.100.2.220] out: 36
[100.100.2.220] out:
[100.100.1.113] out: 40
[100.100.1.113] out:
0 100.100.2.220 cnt: 36 pct: 47.37%
1 100.100.1.113 cnt: 40 pct: 52.63%
TOTAL COUNT: [76]
------------------------------
Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment