[BBLISA] Diskspace monitoring suggestions.

stephen g. wadlow sgw at wadlow.net
Tue Sep 14 01:03:33 EDT 2004


On Mon, 13 Sep 2004, Daniel Feenberg wrote:
> On Mon, 13 Sep 2004, Michael C Tiernan wrote:
>
> > On Sun September 12 2004 17:45, Dean Anderson wrote:
> >  > It depends on what you mean by 'monitoring'.
> > Thank you for replying (everyone).
> >
> > I'm being asked[1] for:
> ...
> >  2) An X-Y graph of part of a file system, preferably, one graph
> >     for each user (10+/-) space showing use and change.
> >     Realistically, this should be done (for some, and thereby
> >     preferably all, of the users) once an hour.  This is the hard
> >     one.  Some of the users have SO much space that a 'du' (we
>
> "quota -v" is what you want. Just for curiosities sake, I did:
>
>    cd /home;quota -v * >/tmp/file.foo

close, but a better way might be to use quot(8) (or quot(1M), depending
on the system):

unix[5] ~ % quot -v  /disk
/dev/md/rdsk/d5:
2001687 root            1958976 1958976 1902440
1084027 user2           1083453 1083451 1083451
253920  user1           94689   94689   94689
97197   user3           97125   97076   97073
90243   user4           90191   90191   90191
[...]

this shows the number of blocks used, the username, and the number of
blocks not accessed in 30, 60 and 90 days.  This was done on a fairly
quiet box.

				steve




More information about the bblisa mailing list