User`s guide

Reference 112
Supplementary Tools
vzdqcheck
This utility counts inodes and disk space used using the same algorithm as OpenVZ quota. It has
the following syntax:
vzdqcheck [options] path
The command traverses directory tree given as the path argument and calculates space
occupied by all files and number of inodes. The command does not follow mount points.
Options available to the vzdqcheck command are:
-h
Usage info.
-V
Vzquota version info.
-v
Verbose mode.
-q
Quiet mode.
vzdqdump and vzdqload
The vzdqdump and vzdqload utilities are used for dumping the VPS user/group quota limits
and grace times from the kernel or the quota file or for loading them to a quota file, respectively.
vzdqdump displays the corresponding values on the console screen, and vzdqload gets the
information from the standard input.
The syntax of the commands is the following:
vzdqdump [general_options] quota_id [-f] [-c quota_file] –G|-U|-T
vzdqload [general_options] quota_id [-c quota_file] –G|-U|-T
The general options are described in the table below:
-h
Usage info.
-V
vzquota version info.
-v
Verbose mode.
-q
Quiet mode.
The quota_id parameter corresponds to the ID of the Virtual Private Server for which you
wish to dump/load the quotas. Other options are the following:
-f
Dump the user/group quota information from the kernel rather than from the
quota file
-c quota_file
Specifies a quota file to process other than the default quota file
(/var/vzquota/quota.
vpsid)
-G, --grace
Dump/load user/group grace times
-U, --limits
Dump/load user/group disk limits
-T, --exptimes
Dump/load user/group expiration times