tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* quick shell scripting question
@ 2003-12-20  0:09 ldg
  2003-12-21 19:07 ` summary: " ldg
  0 siblings, 1 reply; 2+ messages in thread
From: ldg @ 2003-12-20  0:09 UTC (permalink / raw)


Hello all,

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?

-- 
Didier Godefroy
mailto:dg@ulysium.net



^ permalink raw reply	[flat|nested] 2+ messages in thread

* summary: quick shell scripting question
  2003-12-20  0:09 quick shell scripting question ldg
@ 2003-12-21 19:07 ` ldg
  0 siblings, 0 replies; 2+ messages in thread
From: ldg @ 2003-12-21 19:07 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-21 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-20  0:09 quick shell scripting question ldg
2003-12-21 19:07 ` summary: " ldg

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