The following should do the trick:

cd /export/home
du -s * | sort -n -r

assuming you want to check all directories in /export/home of course.

Yours,
Ian.

#ifndef  __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | TIBCO Software Inc.
#endif                    | www.TIBCO.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of alissa bader
Sent: 17 April 2000 16:29
To: [EMAIL PROTECTED]
Subject: [techtalk] disk space monitoring?


ok, so I'm a dork and this is really for Solaris 2.6,
but what the hell.

What's the best way to monitor disk space usage?  Ok,
the most efficient way to monitor disk space usage?  I
do a du and it lists all of the files being used.  I'm
looking for something that just mentions the specific
directories that are taking up the most space.  

Surely a script of some nature must be in order...but
being rather new to this scripting stuff, I'm even
more at a loss.  

any ideas?

thanks!  in advance and stuff

alissa

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com


_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk
!dx%mymjY%{r!0)ƊOj)fjb?!d

Reply via email to