Tivoli Header

Tivoli Space Manager for UNIX Using the Hierarchical Storage Management Clients

dsmdu

The dsmdu command displays space usage information for files and directories. For migrated files, the dsmdu command uses the actual size of the files that are stored in TSM storage to calculate space usage. In contrast, the du command (provided with your operating system) uses the size of the stub files that are stored in your local file system.

For AIX GPFS file systems only: Migrating newly-created files of less then five minutes might display incorrect results (resident size) when you use the dsmdf and dsmdu commands. This is because GPFS is not synchronized on all nodes when you migrate files. The last block of a file is not released from the disk although the file migrated successfully. This can cause deviation from assumed disk usage if many small files are migrated and blocksize is high.

Syntax

>>-+-dsmdu-+--+---------+--+--------------------+--------------><
   '-ddu---'  '- option-'  | .----------------. |
                           | V                | |
                           '--- directoryspec-+-'
 
 

Parameters

options
If you do not specify either of the following options, the HSM client displays the number of 1 KB blocks that the specified directory and each of its subdirectories use.

-Allfiles or -a
Displays the number of 1 KB blocks that each file in the specified directory and each of its subdirectories use.

-Summary or -s
Displays only the total of 1 KB blocks that the specified directory and its subdirectories use.

directoryspec
The directory for which you want to display information. The default is the current directory and its subdirectories. Use wildcard characters to specify more than one directory. You can enter more than one directory specification in one command. If you enter several directory specifications, separate each name with one or more blank spaces.

Examples

Task Command
Display space usage information for the current directory and all of its subdirectories. dsmdu
Display space usage information for the /migfs3/test directory and all of its subdirectories. dsmdu /migfs3/test
Display space usage information for each file in the /migfs2/test directory and in all of its subdirectories. dsmdu -a /migfs2/test
Display the total number of 1 KB blocks that the /migfs2/test directory and all of it subdirectories use. dsmdu -Summary /migfs2/test


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]