IBM Support

Alternative for RTVDIRINF and PRTDIRINF

Troubleshooting


Problem

This document contains an alternative for RTVDIRINF and PRTDIRINF.

Resolving The Problem

This document contains an alternative for RTVDIRINF and PRTDIRINF.

If RTVDIRINF and PRTDIRINF cannot be performed due to lack of space, there is the possibility to determine directory size by performing the following steps:

Example

CALL QP2TERM:
      cd /
      for i in *; do du -sk "$i"; done
 | sort -nr  1>/home/IFS_size.txt
      exit with F3
      WRKLNK '/home/IFS_size.txt' - 5


Provides a list being sorted by directory size like:

73982415 QSYS.LIB  
28815184 backup    
27585756 home      
9429032 QIBM      
4571796 QOpenSys  
558284 IASP4X01    
335380 QSR        
231768 tmp        
13092 www          
692 usr            
548 dev            
408 QDLS          
348 etc            
84 QTCPTMM        
20 var            
12 temp            
12 bin.prv        
12 Mail        

Note: This is a supplied as is script example with no debug assistance if the command fails to run properly.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

646454513

Document Information

Modified date:
18 December 2019

UID

nas8N1010779