Create graphs for inodes, too.
This commit is contained in:
parent
230addcf34
commit
6899d0d971
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
/usr/local/sbin/quotastat
|
/usr/local/sbin/quotastat
|
||||||
/usr/local/sbin/quotacheck
|
/usr/local/sbin/quotacheck
|
||||||
find /usr/local/dfstat/quotacheck-timestamps -type f -name '*:*' -print | sed -e 's/.*\///' -e 's/:/ /' |
|
find /usr/local/dfstat/quotacheck-timestamps -type f -name '*:*:*' -print | sed -e 's/.*\///' -e 's/:/ /g' |
|
||||||
while read user mount_t
|
while read user mount_t data
|
||||||
do
|
do
|
||||||
|
g="/usr/local/dfstat/quotacheck-graphs/$user${mount_t}_$data.png"
|
||||||
mount=`echo $mount_t | sed -e 's/_/\//'`
|
mount=`echo $mount_t | sed -e 's/_/\//'`
|
||||||
"/usr/local/dfstat/quotagraph" "--fs=$mount" "--user=$user" "--data=b" /usr/local/dfstat/quota.stat.????-??
|
"/usr/local/dfstat/quotagraph" "--fs=$mount" "--user=$user" "--data=$data" /usr/local/dfstat/quota.stat.????-?? > "$g"
|
||||||
@@@scp@@@ /usr/local/www//wsr/intranet/quotas/$user$mount_t.gif "intra.wsr.ac.at:/usr/local/www/intra/informationssysteme/quotas/$user$mount_t.gif"
|
@@@scp@@@ "$g" \
|
||||||
|
"intra.wsr.ac.at:/usr/local/www/intra/informationssysteme/quotas/$user${mount_t}_$data.png"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue