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.
Historical Number
646454513
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1010779