Scripts for users who use too much space..

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Steven M. Klass
Date:  
Subject: Scripts for users who use too much space..
Funny I have been doing something similar:

find /home -size +100000 -xdev -printf '%u\t%b\t%AD\t%h/%fd\n' | sort

Then just send the user an email, but I wanted something a little more
automated..



On Tuesday 29 May 2001 09:57, you wrote:
> I am sure there are many of them. For a quick fix use the find command
> with the xdev options.
>
> find /usr -size +10000 -xdev -print (or -mount if you prefer).
>
> The other thing I like to do is go to the home directory and use this
> command:
>
> du -sk *
>
> Hope you get some more suggestions with scripts.
>
> > -----Original Message-----
> > From:    Steven M. Klass [SMTP:]
> > Sent:    Tuesday, May 29, 2001 12:01 PM
> > To:    PLUG
> > Subject:    Scripts for users who use too much space..

> >
> > Hey all
> >
> >     Well it wasn't too long ago that we bought our 3 60Gb Hard Drives.
> > We
> > thought to ourselves, "man we'll never use all of this..."  Right.  Four
> > months later we have 85% used.  Anyway, anyone out there have some
> > scripts to
> > find the fat files and the fat users??

> >
> >
> > Thanks
> > --
> >
> > Steven M. Klass
> > Physical Design Engineering Manager
> >
> > Andigilog Inc.
> > 7404 W. Detroit Street, Suite 100
> > Chandler, AZ 85226
> > Ph: 480-940-6200 ext. 18
> > Fax: 480-940-4255
> >
> >
> > http://www.andigilog.com
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> > post to the list quickly and you use Netscape to write mail.
> >
> > PLUG-discuss mailing list -
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


--

Steven M. Klass
Physical Design Engineering Manager

Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph: 480-940-6200 ext. 18
Fax: 480-940-4255


http://www.andigilog.com