Re: /tmp is looking full but du doesn't show why
On Tue, Jan 02, 2007 at 12:05:15PM +0000, Clive Menzies wrote:
> Hi
>
> I've noticed my /tmp directory filling up and thought I ought to check
> out why using du
>
> clive@Darius:~$ df -h /tmp
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/alpha-tmp
> 432M 332M 77M 82% /tmp
>
> clive@Darius:~$ sudo du -h --max-depth=1 /tmp
> 12K /tmp/lost+found
> 1.0K /tmp/.X11-unix
> 1.0K /tmp/.ICE-unix
> 1.0K /tmp/orbit-clive
> 1.0K /tmp/ssh-GKkECA3953
> 3.0K /tmp/gconfd-clive
> 5.0K /tmp/plugtmp
> 112K /tmp/svpp3.tmp
> 324M /tmp
>
> Am I missing something obvious?
Hi Clive,
Du shows how much space is used by directories. Your listing suggests
that there's a lot in /tmp itself not in lower directories. Try ls -al
Doug.
Reply to: