Scripts for users who use too much space..

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Tyler Hall
Date:  
Subject: Scripts for users who use too much space..
Or you can just go into /home, and type ls -lS

[tyler@wampa tyler]$ ls -lS
total 4592
-rw-rw-r--    1 tyler    tyler     2938880 Mar 29 21:01 Unreal3.1.1.tar
-rw-rw-r--    1 tyler    tyler     1000000 May 10 21:21 junkfile
-rw-------    1 tyler    tyler      479664 May 29 18:13 mbox
-rw-rw-r--    1 tyler    tyler      114344 Apr  3 13:57
ssh-server-1.2.26-5cl.i386.rpm
-rw-rw-r--    1 tyler    tyler       92160 Apr  2 23:06 phpSysInfo-1.1.tar


It will sort by byte size.

-Tyler

----- Original Message -----
From: "Steven M. Klass" <>
To: <>
Sent: Tuesday, May 29, 2001 11:23 AM
Subject: Re: 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
> ________________________________________________
> 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