Re: script/app to compile statistics about disk usage?
From: John Summerfield (debian_at_ComputerDatasafe.com.au)
Date: 07/30/04
- Previous message: John Summerfield: "Re: Source ISOs"
- Maybe in reply to: Silvan: "script/app to compile statistics about disk usage?"
- Next in thread: Alvin Oga: "Re: script/app to compile statistics about disk usage?"
- Reply: Alvin Oga: "Re: script/app to compile statistics about disk usage?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 16:07:57 +0800 To: debian-user@lists.debian.org
Alvin Oga wrote:
>On Fri, 30 Jul 2004, John Summerfield wrote:
>
>
>
>>When I get desperate,as root I do things like this:
>>du --max-depth 2 -m | sort -n | sort
>>
>>
>
>not fair ... that's the same answer i was gonna post, but you
>beat me cause i was home eating and watching Jay leno
>
>
Whoever Jay is.
> though i'd just have used sort +1 instead of 2 sorts
>
>
>
>
The second sort's a swipe * past error, and ruins the result. I acutally
tested with this:
Dolphin:/var# du --max-depth 2 -m | sort -n
1 ./autofs
1 ./autofs/misc
etc.
Ah, I remember. I meant to tail it:
du --max-depth 2 -m | sort -n | tail
-- Cheers John -- spambait 1aaaaaaa@computerdatasafe.com.au Z1aaaaaaa@computerdatasafe.com.au Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: John Summerfield: "Re: Source ISOs"
- Maybe in reply to: Silvan: "script/app to compile statistics about disk usage?"
- Next in thread: Alvin Oga: "Re: script/app to compile statistics about disk usage?"
- Reply: Alvin Oga: "Re: script/app to compile statistics about disk usage?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]