Feature to show disk space by directory?

2 posts / 0 new
Last post
#1 Thu, 08/23/2012 - 17:06
matimont

Feature to show disk space by directory?

Hi,

Is there a feature in Virtualmin that would show the disk space used by any directory?

For example:

/Home 1,459.67 MB

--/Home/Site1 456.00 MB

--/Home/Site2 340.00 MB

etc

Thank you!

Fri, 08/24/2012 - 04:52
Locutus

In Virtualmin itself can use the Quota feature to supervise disk usage for servers' directories, but you cannot use that to show the space of ANY directory.

For that, you could use the Webmin function Others / Custom Commands and define a command like du -sh /home ; du -sh /home/* or so.

Topic locked