root/stats/disk_space.sh
| Revision 290, 140 bytes (checked in by mankoff, 3 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/bin/bash |
| 2 | |
| 3 | used=`/bin/df -h | grep "/$" | sed s/\ \ */\ /g | cut -d" " -f3 | sed s/G//` |
| 4 | /sw/bin/rrdtool update ./disk_space.rrd "N:$used" |
Note: See TracBrowser
for help on using the browser.
