+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Posts
    18

    Default Disk quota from command line?

    Hi!

    I was hoping to make a script that would run weekly and would e-mail me the current disk quota. And if it jumped over, say, 90% send an e-mail then as well. (check every hour or something)

    Does anyone know a way to check the disk usage? I tried using "df" but it did not work.

    If I run "du -h" from the root path, it says I have used 1.7 GB which is almost 1 GB more than the control panel reports.

    Thanks,

    Jeremy

  2. #2
    Join Date
    Feb 2004
    Location
    Kansas City, MO
    Posts
    126

    Default

    Use the command "quota" it will give you your usage and available.

Posting Permissions

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

Why Choose Our Hosting?

Continue reading »

Featured Hosting Plan


Learn more about our VPS Extreme

What is Included?

  • PHP 5/MySQL 5
  • Plesk Control Panel
  • Unique IP Address
  • SAS Hardware Raid diskspace
  • CentOS 5 x86_64 bit
  • Multi-homed Tier 1 Bandwidth
  • Full Upgrade capabilities
Continue reading »