This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
I could not find a dedicated API command for that, but I suppose you write a shell script utilizing the Linux du command on the required directories, which would be public_html for web page data, homes for user mailboxes and domains for sub-servers.
Also, you can find out which servers and users exist and what directories they have using
Yeah, with the powerful stuff that bash can do, it shouldn't be too hard. :) But maybe the developers here can take this as a request for improvement, and will add such a script in Virtualmin some time.
I could not find a dedicated API command for that, but I suppose you write a shell script utilizing the Linux
du
command on the required directories, which would bepublic_html
for web page data,homes
for user mailboxes anddomains
for sub-servers.Also, you can find out which servers and users exist and what directories they have using
Thanks @Locutus for the info. I guess I have to write my own script for this purpose.
Yeah, with the powerful stuff that bash can do, it shouldn't be too hard. :) But maybe the developers here can take this as a request for improvement, and will add such a script in Virtualmin some time.