From: ldg@ulysium.net
Date: Sun Dec 21 2003 - 14:07:40 EST
My original question was:
> I'd like to find out if it's possible from a shell script to read
> information from an advfs domain, so I could find out how full it is, to
> detect before hand if it's about to get 100% full.
> Is that possible?
> If so, how?
I haven't yet written a shell script to do this, but from the several
suggestions I received, it looks like there isn't a quick a simple way to do
this. The solution will only be to parse the response from the commands
showfdmn or df with awk and single out the part I need. However I wouldn't
bother using df because I haven't seen it to be very acurate and is most of
the time wrong in reporting a file system's used space, it never agrees with
du and not even with showfdmn.
So I will try using showfdmn.
-- Didier Godefroy mailto:dg@ulysium.net
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:46 EDT