This is documentation for Plesk Onyx.
Go to documentation for the latest version, Plesk Obsidian.
Disk Space Usage
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:
-
The device node is required. It holds the collection of data describing disk space usage on a particular partition (Windows) or device (Unix). Data type: none.
Each device node has the following structure:
- The name node is required. It holds the partition/ device name. Data type: xs:string.
- The total node is required. It holds the total amount of
disk space (in bytes) allocated to the partition/ device. Data
type: size (
common.xsd
). - The used node is required. It holds the amount of used disk
space (in bytes). Data type: size (
common.xsd
). - The free node is required. It holds the amount of free disk
space (in bytes) available on the partition/ device. Data type:
size (
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.