psa.disk_usage

Overview
The disk_usage table contains information about how much disk space each domain occupies.

Column Descriptions
dom_id - links to id in domains table
httpdocs - disk usage in httpdocs directory
httpsdocs - disk usage in httpsdocs directory
subdomains - disk usage in subdomains
web_users - disk usage by web users
anonftp - disk usage for anonymous FTP data
logs - disk usage from logs
dbases - disk usage from databases
mailboxes - disk usage from e-mail boxes
webapps - disk usage from webapps (java)
maillists - disk usage from mailing lists
domaindumps - disk usage from domain backups
configs - disk usage from configuration files
chroot - disk usage from chroot directory

Table Structure

CREATE TABLE `disk_usage` (
 `dom_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
 `httpdocs` BIGINT(20) UNSIGNED DEFAULT '0',
 `httpsdocs` BIGINT(20) UNSIGNED DEFAULT '0',
 `subdomains` BIGINT(20) UNSIGNED DEFAULT '0',
 `web_users` BIGINT(20) UNSIGNED DEFAULT '0',
 `anonftp` BIGINT(20) UNSIGNED DEFAULT '0',
 `logs` BIGINT(20) UNSIGNED DEFAULT '0',
 `dbases` BIGINT(20) UNSIGNED DEFAULT '0',
 `mailboxes` BIGINT(20) UNSIGNED DEFAULT '0',
 `webapps` BIGINT(20) UNSIGNED DEFAULT '0',
 `maillists` BIGINT(20) UNSIGNED DEFAULT '0',
 `domaindumps` BIGINT(20) UNSIGNED DEFAULT '0',
 `configs` BIGINT(20) UNSIGNED DEFAULT '0',
 `chroot` BIGINT(20) UNSIGNED DEFAULT '0',
 PRIMARY KEY  (`dom_id`)
) ENGINE=INNODB DEFAULT CHARSET=latin1

Related documentation