  | 
»  | 
 | 
  
 | 
 | 
The following are examples on usage of the SHOWUSAGE command. To display what files are on a LDEV 1 enter the following: 
   volutil: SHOWUSAGE VOL=1 FORMAT=SUMMARY ;PERM
   PERM space on LDEV 1:
   FILE1.GROUP5.ACCT5
   FILE2.GROUP1.ACCT1
   FILE1.GROUP1.ACCT1
   /dir/subdir1/subdir2/file1
   FILE1.GROUP2.ACCT1
   FILE2.GROUP2.ACCT1
   /ACCT3/GROUP2/d1/f1
   FILE3.GROUP2.ACCT4
  |  
 To display which files consume the most space on LDEV1, enter the following: 
   volutil:SHOWUSAGE VOL=1 ;PERM
   PERM space on LDEV 1:
   SECTOR ADDRESS       SIZE       SPACE USED BY
                    (in sectors) 
   --------------   ------------   -------------
     $00079DD0            672      FILE1.GROUP5.ACCT5
     $000DDD00             16      FILE2.GROUP1.ACCT1
     $000DDD10             16      FILE2.GROUP1.ACCT1
     $000E2E40            208      FILE1.GROUP1.ACCT1
     $000E3F60           1200      FILE2.GROUP1.ACCT1
     $000E4160            464      FILE1.GROUP5.ACCT5
 |  
 To find out the actual size of a file, add all of the sectors for that file,
for example, for FILE2.GROUP1.ACCT1, add: To display all files in the HFS (Hierarchical File System) syntax enter the 
following: 
   volutil: SHOWUSAGE VOL=1 FORMAT=SUMMARY ;PERM ;PATH
   PERM space on LDEV 1:
   /ACCT5/GROUPS/FILE1
   /ACCT1GROUP1/FILE2
   /ACCT1/GROUP1/FILE1
   /dir1/subdir1/subdir2/file1
   /ACCT1/GROUP2/FILE1
   /ACCT1/GROUP2/FILE2
   /ACCT3/GROUP2/d1/f1
   /ACCT4/GROUP2/FILE3
  |  
 To quickly identify the minimum number of files that can be removed from LDEV 1 to free up 60000 sectors of contiguous disk space (for example to perform an UPDATE), enter the following: 
   volutil: showusage 1 60000 nonrestrict summary ;perm ;free
   *Note: Only PERM space is displayed in SUMMARY format.
   CONTIG PERM, FREE space on LDEV 1:
   FILE1.GROUP2.ACCT1
   FILE1.GROUP1.ACCT1
   FILE2.GROUP2.ACCT1
   FILE3.GROUP3.ACCT4
   Total sectors: 62176
   FILE1.GROUP3.ACCT1
   /ACCT1/GROUP2/dir1/f2
   FILE1.GROUP1.ACCT1
   FILE5.GROUP5.ACCT5
   Total sectors:  80416
  |  
 To display the total sectors provided by the previous example containing the number of sectors used by free space (note that free space is not displayed in the previous example), enter the following: 
  volutil:showusage 1 60000 nonrestrict ;perm ;free
  CONTIG PERM, FREE space on LDEV 1;
  SECTOR ADDRESS       SIZE        SPACE USED BY
                   (in sectors)
  --------------   ------------    -------------
   $00111820             2112      FILE1.GROUP2.ACCT1
   $00112060             3680      FILE1.GROUP1.ACCT1
   $00112EC0            16816      FILE2.GROUP2.ACCT1
   $00117070              864      <free space>
   $001173D0             1200      FILE2.GROUP2.ACCT1
   $00117880             1824      FILE2.GROUP2.ACCT1
   $00117FA0             2048      FILE2.GROUP2.ACCT1
   $001187A0              480      <free space>
   $00118980             4284      FILE1.GROUP1.ACCT1
   $00119AA0             4688      FILE2.GROUP2.ACCT1
   $0011ACF0             5648      FILE3.GROUP2.ACCT4
   $$0011D7E0           13088      FILE3.GROUP2.ACCT4
  Total sectors         62176
 |  
 To display the maximum amount of contiguous block space enter the following: 
   volutil: SHOWUSAGE BSET:MEMBER2 10000 FORMAT=SUMMARY ;PERM ;MAX
   CONTIG PERM space on BSET:MEMBER2:
   FILEX.GROUP3.ACCTX
   FILE1.GROUP1.ACCTX
   /ACCTA/GROUPA/tmp/junk
   FILE3.GROUP1.ACCTY
   FILEX.GROUPM.ACCTB
   Total sectors: 20264
   FILEX.GROUPN.ACCTM
  |  
 The following example, where the ;MAX option is not entered, is being presented as a comparison to the previous screen: 
   volutil: SHOWUSAGE BSET:MEMBER2 10000 FORMAT=SUMMARY ;PERM
   CONTIG PERM space on BSET:MEMBER2:
   FILEX.GROUP3.ACCTX
   FILE1.GROUP1.ACCTX
   /ACCTA/GROUPA/temp/junk
   FILE3.GROUP1.ACCTY
   Total sectors: 12032
   FILEX.GROUPN.ACCTM
  |  
 
  
 |