tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* summary: quick shell scripting question: followup
@ 2003-12-22 21:58 ldg
  0 siblings, 0 replies; only message in thread
From: ldg @ 2003-12-22 21:58 UTC (permalink / raw)


I wrote that script I needed and it's working just as I wanted it to.
I used the vdf command, greped and parsed the output with awk to get only
the amount full. I wanted to watch only 5 filesystems and not all of them,
plus I needed to set a different threshold for reporting a warning.
I get a warning emailed only if one or more filesystem goes over the
threshold and if more than one goes over, the warning email gives info on
each filesystem in that condition. I run this out of cron every hour.

I inspired myself from a few scripts or snippets sent by several people (too
many to mention).

Thanks to all for all the suggestions, it's now working beautifully.

-- 
Didier Godefroy
mailto:dg@ulysium.net



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-22 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-22 21:58 summary: quick shell scripting question: followup ldg

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