This function lists the disk usage status of the system's user accounts. This also lists information about file system object (inode) usage.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ get_disk_usage
{- "data": {
- "accounts": [
- {
- "blocks_limit": null,
- "blocks_used": 2632,
- "inodes_limit": 9999,
- "inodes_used": 340,
- "user": "username"
}
]
}, - "metadata": {
- "command": "get_disk_usage",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}