Contact Site map Home

Technical Support
(Historical information only. We hope you find it to be a beneficial resource)

Checking your Disk Space Usage

To check your disk usage, you must log into the server via Telnet. Our FAQ on using the Telnet communication protocol will walk you through the built-in windows 95 version. Other users will need to obtain a telnet client from their software vendor or from one of the free software sites listed on our Resources page.

Once you have logged into the server, you will be at the te.netmand prompt in your root directory. Typing the following:

    du -s

will yield a number like:

    6785       .

This figure is in kilobytes. If you divide it by 1024 you will have the megabytes it represents (6785/1024 = 6.625 megabytes).
This represents the space used by your WebPages, graphics and other supporting files. If the number seems a little large to you, try typing this command:

    du -s * | more

and you will be presented with a list of your subdirectories and their sizes. This will help you track down the largest areas of your site. You will need to run these commands in any other directories on the server that you have.

For example, if you have had us enable your anonymous ftp directories (we strongly discourage this), you will need to check them also. To do this, follow these steps:

    cd /mnt/ftp/yourIPaddress/

Then again type:

    du -s

Again, the resulting figure is in kilobytes. This would be added to the figure obtained above.

Note 1: If you do not know your IP address, you may find it by typing this command at the Telnet prompt:

nslookup yourdomainprefix

For example, if your domain name is, you would type:

nslookup bob

You may also find your IP address by using a utility on our website; please click here.

Note 2: Most users will not have their Anonymous FTP directory enabled.

Now check how much space your mail boxes are using. Change directories by typing:

    cd /var/mail/

Then type:

    ls -ald yourUserID*

For example, if your userID is bob, type:   

     ls -ald bob*

The result will look something like the ones below. The figures are in bytes (the * after the userID lets you list all of your userID's at once).

	 -rw------- 1 bob  bbsuser     1254 Mar 7 10:58 bob
	 -rw------- 1 bob2 ftponly        0 Mar 6 07:54 bob2
	 -rw------- 1 bob3 ftponly        0 Mar 7 10:58 bob3
	 -rw------- 1 bob4 ftponly 25654321 Mar 6 07:54 bob4
	 -rw------- 1 bob5 ftponly    14495 Mar 7 10:15 bob5

In this example, we see that bob and bob5 have a reasonable amount of mail awaiting them and bob2 and bob3 have checked their mail recently and their mail client removed the mail from the server when they were done. It would appear that bob4 has not been retrieving his mail or that his mail program is set to leave mail on the server after retrieval. His mailbox now contains about 24 megabytes. Added to the 6.625 from the example at the top of this FAQ, this site's usage is over 30 megabytes and will incur additional charges. Mail boxes that contain more than 10 megabytes are considered irretrievable and are periodically emptied automatically by the system. Be sure to keep your mailbox sizes down to minimum to ensure that important mail is not deleted.

Those who exceed their allotted amount of space will be charged for the extra space.   Our Pricing Page contains our latest rates.

[ Home ]   [ About ]   [ Plans ]   [ Designs ]   [ Graphics ]   [ Marketing ]   [ Hosting ]   [ Portfolio ]   [ Contact ]   [ Site Map ]
Copyright © 1995-2000 XyNexT Internet Strategies - All Rights Reserved Worldwide