Sunday, March 8, 2015

listing remote server filesystem info

$ more checkfs.ksh
#!/bin/ksh
ssh -q sunserv2.fhlmc.com df -h $1
ssh -q sunserv1.fhlmc.com df -h $1

$ sh checkfs.ksh /opt

No comments:

Post a Comment