Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

#171510 21-Apr-2015 10:56
Send private message

My shared hosting linux server disk usage is getting a bit high, but there's no tool provided that lets me work out which directories are using the space I have no shell access. Does anyone know of a PHP script that I can install that will let me work out what's using the disk space?

In cpanel (which this server doesn't use) it will show you a list of directories (eg mail, public_html, etc at a high level) and give you the size. You can then drill down.

Here's a screenshot of a script running on a cpanel server that shows what I mean. I expect this script or something like it is available to throw onto a random server, I just can't find it... my Google Fu is letting me down.


Click to enlarge
Click to see full size

Filter this topic showing only the reply marked as answer Create new topic
slingynz
154 posts

Master Geek
+1 received by user: 53


  #1288597 21-Apr-2015 15:45
Send private message

tree size for php



timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #1288751 21-Apr-2015 18:46
Send private message

Perfect, thanks!

Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.