Knowledgebase
Disk space of the VPS
Posted by santosh007, 10-23-2010, 08:09 AM | Hi
How can I check the disk space usage of the VPS, I have try this
root@vps [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 140G 4.4G 136G 4% /
none 7.9G 4.0K 7.9G 1% /dev
And
root@vps [~]# du -sh *
12K cpanel3-skel
4.0K cpanel-gcc-test.c
4.0K public_ftp
8.0K public_html
12K tmp
But the VPS is used 4.4G.
|
Posted by Russ Foster, 10-23-2010, 08:25 AM | You need to cd / first. Most likely though this is just the OS + cPanel taking up the space
|
Posted by DiegoRBaquero, 10-23-2010, 12:56 PM | The 4.4GB used space is mostly as rghf said the OS and cPanel. All cPanel/WHM servers use around 4GB starting up. Nothing to worry about though.
|
Posted by devonblzx, 10-23-2010, 02:12 PM | du -h --max-depth=1 /
Will help you narrow down a little bit. But 4GB doesn't seem like anything to worry about especially for cpanel.
|
Posted by inspiron, 10-23-2010, 08:46 PM | The -h option (df -h) it shows the disk space in "human readable" form.
Whereas the (du -sh *) will show the disk space usage used by the files and directories in the current directories.
|
|
Add to Favourites
Print this Article |
Also Read