How to check folder sizes of the root directory on my VPS/Dedicated server via Terminal?

Hi,

I have following issue.

I have a VPS with Linux OS and I'd like to check size of the folders as well as remaining space on my server.

How can I do that via Terminal?

I would appreciate any input.

OS X Mountain Lion (10.8)

Posted on Jan 21, 2013 4:17 AM

Reply
6 replies

Jan 21, 2013 5:25 AM in response to ludwip

login into your VPS server via terminal and cd into the root of your hosted space. Then use the df -h command to see the listing


for i.e.

df -h /volumes/volume_1

Filesystem Size Used Avail Capacity iused ifree %iused Mounted on

//john@ds00/volume_1 457Gi 12Gi 445Gi 3% 0 18446744073709551615 0% /Volumes/volume_1


for you it would be something like:


df -h user@xxx.xxx.xxx.xxx/share (ip address)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to check folder sizes of the root directory on my VPS/Dedicated server via Terminal?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.