Skip to content

Instantly share code, notes, and snippets.

@i8degrees
Created August 9, 2013 01:28
Show Gist options
  • Select an option

  • Save i8degrees/6190435 to your computer and use it in GitHub Desktop.

Select an option

Save i8degrees/6190435 to your computer and use it in GitHub Desktop.
GeekTools script
#!/usr/bin/env /bin/sh
# 2012-07/11:jeff
#
# logstat.sh
#
# ...
#
echo "\t\tnas0.syn.localnet:"
ssh -t admin@nas0.syn.localnet 'sudo /sbin/mdadm -D /dev/md2|grep -e "Array Size" -e "Used Dev Size" -e "/dev"'
echo "\t\tnas1.syn.localnet:"
ssh -t admin@nas1.syn.localnet 'sudo /sbin/mdadm -D /dev/md2|grep -e "Array Size" -e "Used Dev Size" -e "/dev"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment