Disk space

Link, David LINKD DAVE.LINK at leavenworth.army.mil
Wed Jul 10 20:50:21 CDT 2002


Provided one has permission to read all the directories.

-----Original Message-----
From: Mike Distefano [mailto:mdistefano at mjtek.com]
Sent: Wednesday, July 10, 2002 1:31 PM
To: 'Kclug at Kclug. Org'
Subject: RE: Disk space

Or try this

du -akx dir_to_check | sort -rn | more

This will give the largest files first.

>-----Original Message-----
>From: owner-kclug at marauder.illiana.net
>[mailto:owner-kclug at marauder.illiana.net]On Behalf Of Brian Densmore
>Sent: Wednesday, July 10, 2002 11:16 AM
>To: Jeremy Fowler; Kclug at Kclug. Org
>Subject: RE: Disk space
>
>
>cd /
>du -s -h
>(disk usage, summary only human readable , gives summary of 
>directories)
>
>> -----Original Message-----
>> From: Jeremy Fowler [mailto:jfowler at westrope.com]
>> Sent: Wednesday, July 10, 2002 11:14 AM
>> To: Kclug at Kclug. Org
>> Subject: Disk space
>> 
>> 
>> What is the easiest way to find where my disk space is being 
>> taken up? On one of
>> my servers I have three partitions: /, /var, and /boot. I 
>> used `df` to show me
>> how much space I have left and I find my root partition is 
>> almost full. What is
>> the easiest way to find out what directories contain the most 
>> data similar to
>> the way df displays partition consumption. I need to hunt 
>> down and figure out
>> what files are growing off the root and move them somewhere else.
>> 
>> Thanks. -Jeremy
>> 
>> 
>> 
>> majordomo at kclug.org
>> 
>
>




More information about the Kclug mailing list