mancu
10-31-2001, 05:24 AM
i'm a webhosting.
i need to check disk usage of virtual domain hosted on my machine.
how to and what is software ,util (and which url) to check it.
Thanks.
T_E_O
10-31-2001, 05:42 AM
Are you sure this is the right type of business for you ?
But to answer your question:
You'd have to log in via ssh (or telnet, but ssh is preferred) and go into the directory of the virtual domain. (ie. /home/domain14, but it could be in a totally different location)
and then you should type: du -s [enter]
Then wait and after some time it will give you the disk usage (du) in that directory and its subdirectories.
The result is in kilobytes so you have to divide it by 1000 (or 1024 actually) to get it in megabytes. (ie. 41514 means approximately 40 megabytes of used space)
Good luck !
Regards,
Hans Allis