| @ |
The disk space utility works by using the UNIX "du" binary, with the optional -s -k flags to automatically add the total disk space used, in Kilobytes, of all the files and directores within the directory specified. The -s flag automatically returns the output for the sum of all files and directories within the specified directory. We then take the output and covert it to Megabytes. Therefore, on sub-domains, we simply take the document root for the sub-domain and perform a "du -sk" to determine the disk space utilization of that particular sub-domain. To use this utility to calculate the disk space used by a directory or sub-domain on your account, click here. |