topical media & game development
basic-shell-12-df2mrtg.sh / sh
#!/bin/sh
# Gets system disk usage.
# Pass file system, such as / as $1
# Save argument before we overwrite it.
filesystem=$1
stats=`df -k stats
echo $3 # Used
echo $4 # Available
echo `uptime`
echo `hostname`
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.