Disk space

Mike Distefano mdistefano at mjtek.com
Wed Jul 10 18:21:24 CDT 2002


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