summary: quick shell scripting question

From: <ldg_at_ulysium.net>
Date: Sun, 21 Dec 2003 14:07:40 -0500

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT