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_at_ulysium.net
Received on Sun Dec 21 2003 - 19:12:15 NZDT