![]() |
![]() |
The dsmls command displays the following information about a list of files:
For a resident or premigrated file, the actual size and resident size are the same. For a migrated file, the actual size is the size of the original file. The resident size is the size of the stub file that remains on your local file system.
The file state for a file can be any of the following: migrated (m), premigrated (p), or resident (r). A dash (-) indicates a directory or a non-regular file; for example, a character special file or a named pipe file. For a migrated file, the dsmls command also indicates the recall mode that you set for the file. If you set the recall mode to normal, additional information does not appear in the File State column. If you set the recall mode to migrate-on-close, the notation (m) displays in the File State column. If you set the recall mode to read-without-recall, the notation (r) displays in the File State column.
Syntax
>>-+-dsmls-+--+--------------+--+---------------+-------------->< '-dls---' | .----------. | | .-----------. | | V | | | V | | '--- options-+-' '--- filespec-+-'
Parameters
Examples
Task | Command |
---|---|
List all files in the current directory. | dsmls |
List all files in the /migfs2/test directory. | dsmls /migfs2/test |
List all files in the /migfs2/test directory and in its subdirectories. | dsmls -Recursive /migfs2/test |
List all files whose names begin with tf in the /migfs2/test directory. | dsmls /migfs2/test/tf* |