Note:
• If the environment variable DIFF exists, its value is used to establish default options.
• You can override an option that was specified in the environment variable by following the
option with a minus '-' sign. For example, to turn off the -b option, specify -b-.
du
Note: This tool can be used in both Interactive Mode and Batch Mode. For details on scheduling
this tool to run in batch mode see Using Batch Mode.
Use the DU utility to view the sizes of each directory specified on the command line and the
sizes of each subdirectory under those.
To Access DU from the Dashboard
To run DU from the Support Tools Dashboard:
Step 1
In the Arguments field, enter desired arguments, as described in the Using section below.
Note: When entering arguments, the DU command is already implied. Do not enter it in the
Arguments field.
Step 2
Specify the command duration time or accept the default (60 seconds). This is the amount of
time the command will attempt to run before terminating.
Step 3
If desired, check Elevate Command Priority. This ensures the command will run regardless of
the level of server activity.
Step 4
Click the Run button.
Using DU - Command Line Options
du [ -asM? ] [ names ]
If no names are specified on the command line, the size of the current directory is given. Sizes
given show the total number of bytes in all of the files within and below the named directory
and the amount of disk space used by the files in and below the named directory. The disk space
is displayed in Kbytes ( 1024 bytes = 1 Kbyte )
The options for DU are:
-a: also display the size of each file.
-s: only display the grand totals for the names on the command line.
Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)
206
Chapter 14: - Using 3rd Party Common Tools
du