Re: Root filesystem full
From: Aaron Baugher (abaugher_at_esc.pike.il.us)
Date: 03/30/04
- Next message: Alan McKay: "smbus and 5.2.1"
- Previous message: Frank Shute: "Re: install script to detemine Linux or FreeBSD environment?"
- In reply to: Sean: "Re: Root filesystem full"
- Next in thread: Sean: "Re: Root filesystem full"
- Reply: Sean: "Re: Root filesystem full"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 20:02:00 -0600
Sean <smalone@sbcglobal.net> writes:
> Thanks for the reply. Before I had post my question I did a little
> research and I learned about the command you had sugested. Below is
> the output of that command:
> 194M ./root
There's your problem. Are you logging in and doing a lot of stuff as
root? You don't want to do that.
By the way, I hate the -h option for 'du'. It's a lot easier to spot
the big directories if your listing looks like this:
72 ./dev
118 ./tmp
2 ./usr
2 ./var
2444 ./stand
1316 ./etc
2 ./cdrom
1 ./proc
2 ./dist
4124 ./bin
1054 ./boot
2 ./mnt
7806 ./modules
31424 ./root
12488 ./sbin
7628 ./modules.old
2 ./service
That's a lot easier to read than the output of 'du -h' where you have
to pick out the Gs and Ms from the Ks and Bs. Also, you can pipe it
to a numerical sort:
# cd /; \du -x -d 1 | sort -n
1 ./proc
2 ./cdrom
2 ./dist
2 ./service
2 ./usr
2 ./var
16 ./bak
72 ./dev
118 ./tmp
1054 ./boot
1316 ./etc
2444 ./stand
4124 ./bin
7628 ./modules.old
7806 ./modules
12488 ./sbin
31424 ./root
Much nicer.
-- Aaron abaugher@esc.pike.il.us
- Next message: Alan McKay: "smbus and 5.2.1"
- Previous message: Frank Shute: "Re: install script to detemine Linux or FreeBSD environment?"
- In reply to: Sean: "Re: Root filesystem full"
- Next in thread: Sean: "Re: Root filesystem full"
- Reply: Sean: "Re: Root filesystem full"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|