Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Posts
    400

    Help me out! Disk Space Problems

    Hello,

    My current disk usage looks like this:

    Filesystem Size Used Avail Use% Mounted on
    /dev/hda4 71G 55G 13G 82% /
    /dev/hda1 966M 20M 897M 3% /boot
    none 220M 0 220M 0% /dev/shm
    /dev/hda3 966M 17M 900M 2% /tmp
    /tmp 966M 17M 900M 2% /var/tmp


    The problem is, the accounts on the server are only supposed to take up 9GB max. So, I cnsider 9GB + 3-4GB of OS installation, and the server shouldn't even be using 15GB of the / partition. I believe some backups are lying around in the server when I didn't properly configure it, so if somebody could help me out as to how to find out what directory is using up how much space, it'd be great.

    Is there a command to see how much space a directory is using? I'm running Red Hat Fedora Core 2

  2. #2
    Join Date
    Oct 2002
    Location
    Manchester, UK
    Posts
    1,164
    du -h --max-depth=1 /
    Rob Greenwood
    RedHat Certified, Unix Consultant
    http://www.linkedin.com/in/bilco105

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •