Hi, I'm looking to write something that will
check all the various local and NFS mounted
filesystems, and send an email to the user
specified on the command line if the usage
is over 70%, with another email (or perhaps just
a different message) if it's over 90%.
Before I get into it, should I even be trying
to write this in Perl? Would the Bourne shell
be better, or is there some clever Perl way
to do this? I looked around, and didn't see
any Perl snippets, modules, or scripts that do
this, which led me to think it Perl might not
be the way to go this time; checking filesystem
usage seems like something useful and generic
enough that if it were particularly easy to
do in Perl, someone already would have.
Any thoughts welcome.