C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Utility Commands on Cisco IOS XR Software
utility df
SMR-741
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
utility df
To display the amount of disk space available for a directory or file, use the
utility df
command in EXEC
mode or administration EXEC mode.
utility df
[
kbytes
]
[
mountinfo
] [
vsfStats
] [
file
source
]
[
usage
] [
WORD
]
Syntax Description
Defaults
Information is displayed for all file systems.
The results are displayed in 512-byte blocks.
Command Modes
EXEC
Administration EXEC
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the
utility df
(disk free) command to display the amount of disk space available for a device,
directory, or file. Enter the command without keywords or arguments to display information for all
mounted file systems.
Use the
vsfStats
keyword to invoke the statvfs() function, which provides additional details for all
mounted file systems.
kbytes
(Optional) (
-k
) Displays the sizes in 1-K blocks (1024-byte units) instead of
the default of 512 byte blocks.
mountinfo
(Optional) (
-n
) Displays the file-system mountpoints and types only.
vsfStats
(Optional) (
-g
) Displays all statvfs() information.
file
source
(Optional) Specifies the storage device and directory path of the device,
directory, or file. When a directory or file is specified, the df utility displays
the amount of space on the file system that contains the directory or file.
If no files are specified, then only the standard input (keyboard) is used.
The
input-file
syntax is:
device
:
[
/
directory-path
]
/
filename
Include the alias for the
device
argument, followed by a colon, and,
optionally, the name of a directory. Use the online help system to display the
available storage devices and network protocols.
usage
(Optional) Displays the UNIX options supported by this command.
WORD
(Optional) UNIX command-line option string. The maximum number of
characters is 20.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.