QUERY DIRSPACE (Query storage utilization of FILE directories)

Use this command to display information about free space in the directories associated with a device class with a device type of FILE.

Privilege class

Any administrator can issue this command.

Syntax

Read syntax diagramSkip visual syntax diagramQuery DIRSPace device_class_name

Parameters

device_class_name
Specifies the name of the device class to be queried. This parameter is optional. You can use wildcard characters to specify this name. All matching device classes of device type FILE are displayed. If you do not specify a value for this parameter, all device classes of device type FILE are displayed.

Example: List FILE type device classes

Display information for all device classes with a device type of FILE. In the following example the unit M is equivalent to megabytes, and the unit G is equivalent to gigabytes.
query dirspace
Windows operating systems
Device       Directory                      Estimated   Estimated
Class                                        Capacity   Available
-----------  ----------------------------  ----------  ----------
DBBKUP       /This/is/a/large/directory      13,000 M     5,543 M
DBBKUP       /This/is/directory2             13,000 M     7,123 M
DBBKUP2      /This/is/a/huge/directory        2,256 G     2,200 G
Windows operating systems
Device       Directory                      Estimated   Estimated
Class                                        Capacity   Available
-----------  ----------------------------  ----------  ----------
DBBKUP       G:\This\is\a\large\directory    13,000 M     5,543 M
DBBKUP       G:\This\is\directory2           13,000 M     7,123 M
DBBKUP2      G:\This\is\a\huge\directory      2,256 G     2,200 G

Field descriptions

Device Class Name
The name of the device class.
Directory
The path of the directory located on the server.
Estimated Capacity
The estimated total capacity for the directory.
Estimated Available
The estimated remaining available space for the directory.

Related commands

Table 1. Commands related to QUERY DIRSPACE
Command Description
DEFINE DEVCLASS Defines a device class.
DELETE DEVCLASS Deletes a device class.
QUERY DEVCLASS Displays information about device classes.
UPDATE DEVCLASS Changes the attributes of a device class.