[OpenAFS] quota monitoring
Russ Allbery
rra@stanford.edu
Tue, 26 Aug 2003 17:48:47 -0700
Robin Yamaguchi <rhy@physics.ucsb.edu> writes:
> I couldn't figure out a way to do this without locally storing the admin
> passwd, and cat pwfile | klog admin -pipe. I then fs listquota all
> volumes, grep "WARNING", then send e-mail accordingly.
> Anyone have a better way using -localauth instead of using klog -pipe?
Sneaky little trick on obtaining quota information: fs listquota requires
access to the directory, but vos examine and vos listvol don't. Use vos
listvol on each of your servers and parse that output instead.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>