Netmar User's Guide Netmar.com
Contact Netmar
Order Webhosting

Linux control panel

   


2.7) How can I see how much disk space I am using?

Log into your account via the command line (instructions here) and type:
ducheck

------- Code Sample 1 ------------
netmar> ducheck
Checking diskspace usage. Please wait...
Your total current disk usage is 23.3 MB's.
Your allotted disk quota is 100 MB's.
netmar>

You could also use the "du" command. Used with the -k switch, it will show you size in kilobytes. The entry you're looking for is the last one. First change to your home directory, then use the command, and look at the entry for " . " (which, remember, means the current directory).
Keep in mind that this does not take into account MySQL databases or mail spools.

------- Code Sample 2 ------------
netmar> cd ~
netmar> du -k
4 ./.usermin/mailbox
4 ./.usermin/forward
.
.
.
{it will print out your directories here}
.
.
.
4576 ./www
4 ./cgi-bin
8 ./.gnupg
4648 .
netmar>

 



Quick Start Guide :: Visit the old Guide :: Dedicated Server Guide

All content © 2002,2003 NetMar, Inc.