tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: ldg@ulysium.net
Subject: summary: quick shell scripting question
Date: Sun, 21 Dec 2003 14:07:40 -0500	[thread overview]
Message-ID: <BC0B59AB.433A7%ldg@ulysium.net> (raw)
In-Reply-To: <BC08FD83.432AB%ldg@ulysium.net>

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



      reply	other threads:[~2003-12-21 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-20  0:09 quick shell scripting question ldg
2003-12-21 19:07 ` ldg [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox