The diskspace node describing disk space usage on the server is presented by complex type diskspaceStatType (plesk_server.xsd
). The node is structured as follows:
Each device node has the following structure:
common.xsd
).common.xsd
).common.xsd
).
The parts of the response packets returning disk space usage statistics may look as follows:
<diskspace>
<device>
<name>/dev/ad1s1e</name>
<total>4228413440</total>
<used>728193024</used>
<free>3161948160</free>
</device>
<device>
<name>/dev/ad0s1a</name>
<total>2642008064</total>
<used>1736767488</used>
<free>693880832</free>
</device>
</diskspace>
This is the part of a packet received from Unix server running Plesk, where two devices ("/dev/ad1s1e" and "/dev/ad0s1a") are configured.
<diskspace>
<device>
<name>C:\</name>
<total>3176855552</total>
<used>368652288</used>
<free>2808203264</free>
</device>
</diskspace>
This is the part of a packet received from Windows server running Plesk, where one partition (C:\) is configured.