[olug] File/Disk Management
David Walker
linux_user at grax.com
Mon Oct 28 18:10:38 UTC 2002
du is the command I use (no duh jokes please)
cd /
du -sh *
will give you the sizes of all the files in each directory off of root
Use
du -shx *
to limit it to just the root filesystem
On Monday 28 October 2002 11:52 am, (Via wrote:
> OK, forgive the newbie question. I've got a server that has usage
> problems. Here's the df:
>
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda3 497861 497858 0 100% /
> /dev/hda1 46636 11700 32528 27% /boot
> /dev/hda5 13100844 587388 11847968 5% /home
> none 256272 0 256272 0% /dev/shm
> /dev/hda6 2063504 33592 1925092 2% /tmp
> /dev/hda9 14610932 1523628 12345104 11% /usr
> /dev/hda2 5036316 283116 4497368 6% /var
> /dev/hda7 2063504 43088 1915596 3% /var/log
>
> I'm not sure what's filling up the root partition, but obviously it's an
> issue. Advice on figuring out what's filling this up and how to bring it
> back under control? Links to Howtos or other documents on this subject?
> I tried to look on the Linux Documentation Project, but nothing there was
> obviously related to what I need to learn here.
>
> Thanks,
More information about the OLUG
mailing list