Skip to content

Instantly share code, notes, and snippets.

@teenst
Created May 18, 2014 12:51
Show Gist options
  • Save teenst/ef0d804146d67ae4312b to your computer and use it in GitHub Desktop.
Save teenst/ef0d804146d67ae4312b to your computer and use it in GitHub Desktop.
#!/bin/sh
dsh -r ssh -m pine10,pine11,pine12,pine13,pine14 -c -- 'echo `hostname` `grep "processor" /proc/cpuinfo | wc -l` `cat /proc/loadavg`' | sed "s/ / /g" | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment