CL Command Reference - STATFS
CL Command List > STATFS Reference
Description:
The Display Mounted File System Information (STATFS) command displays information about a mounted file system.
This command can also be issued using the following alternative command name:
. DSPMFSINF
Restrictions:
1. The user must have execute (*X) authority to each directory in the path.
Examples:
The alternative command name for STATFS is DSPMFSINF. The following examples use the alternative command name, but STATFS can be replaced directly for DSPMFSINF in all of them.
Example 1: Displaying Statistics of a Mounted File System
DSPMFSINF OBJ(¡¯/jsmith/file1¡¯)
This command displays the statistics for the mounted file system that contains /jsmith/file1.
Example 2: Displaying QSYS.LIB File System Statistics
DSPMFSINF OBJ(¡¯/QSYS.LIB/MYLIB.LIB/MYFILE.FILE¡¯)
This command displays the statistics for the QSYS.LIB file system that contains *FILE object MYFILE in library MYLIB.