D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Root room

 

On Wed, 20 Sep 2006 17:17:39 +0100
"Robin Cornelius" <robin.cornelius@xxxxxxxxx> wrote:

> On 9/20/06, Neil Winchurst <neil@xxxxxxxxxxxxxxxxx> wrote:
> 
> > >
> > > du * -s | grep sort -g
> > >
> > > this will show you a sorted list of files and sub directorys and there
> > > size (biggest at the bottom)
> > >
> > I tried that but it complained about the -g option.
> >
> 
> yea thats cause i told you rubbish!
> 
> I'm so use to piping someting into a grep that it just got typed!
> 
> it should be
> 
> du * -s | sort -g
> 
> Sorry!
> 

Ok, I did that on root and here is the result

> 
du: `proc/6162/task': No such file or directory
du: `proc/6162/fd': No such file or directory
du: `proc/6289/task': No such file or directory
du: `proc/6289/fd': No such file or directory
du: `proc/6353/task': No such file or directory
du: `proc/6353/fd': No such file or directory
du: `proc/6462/task': No such file or directory
du: `proc/6462/fd': No such file or directory
du: `proc/6477/task': No such file or directory
du: `proc/6477/fd': No such file or directory
0       sys
2.5M    opt
2.6M    dev
3.1M    boot
3.7M    root
3.8G    usr
4.9G    home
5.5M    bin
6.8M    sbin
8.0K    initrd
8.0K    mnt
16K     lost+found
34M     lib
52M     etc
156K    tmp
490M    var
514M    proc
[root@localhost /]#

The only big ones seem to be proc and var.

Is that to be expected?


Neil Winchurst

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html