-
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
-
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
Forum Rules
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 »