You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Top-ranking reply

Posted on Jan 21, 2013 5:06 AM

df command, check the man page for more info

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)

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.