Files
cacti/scripts/diskfree.sh
T
Ian Berry 395307f432 make cross-platform compliant (thanks kuuse@redantigua.com)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2714 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-04-25 00:14:58 +00:00

3 lines
92 B
Bash
Executable File

#!/bin/sh
df -k $1 | grep -v Filesystem| awk '{printf "megabytes:" $4 " percent:" int($5)}'