I forget what version you are at. The newest way is to use RTVDSKINF.
It's been out for quite some time but some people are running REALLY old
machines. After RTVDSKINF start out with PRTDSKINF *SYS. Makes no sense
to start with old standards like deleting spool files or anything if that
report says 80% of your disk is in User directories. Then PRTDSKINF has
other options, like only selecting big objects, or sorting by library
size, etc.
Do NOT run RTVDSKINF interactively. See additional cautions below.
prtdskinf *sys
% of Size in
Description Disk 1,000,000 bytes
User libraries 46.35 2942498.68
User directories 25.81 1638575.59
Folders and documents .00 1.35
QSYS .10 6492.22
Other IBM libraries .50 31513.11
Licensed Internal Code .14 8704.26
Temporary space 1.52 96674.70
Unused space 25.44 1615006.08
System internal objects .15 9430.82
Objects not in a library .00 .00
TOTAL 100.01 6348896.81
Prior to these two commands there was DSPOBJD to an outfile. That, of
course, ignores all stream file data, all temporary storage issues and
most everything else on PRTDSKINF *SYS. I am consuming more temporary
space that you probably have in two of your disk drives (see above).
And if you do have a lot in User directories, see RTVDIRINF, PRTDIRINF.
Cautions:
The size of the data generated by any of these three commands:
- RTVDSKINF
- DSPOBJD to an output file
- RTVDIRINF
can be significant. If you are on a small machine and at 95+% full it is
something to consider.
RTVDSKINF
% of Size in
Object Library Type Owner Disk 1000 bytes
QAEZDISK QUSRSYS *FILE ROB .01 320888.8
dspobjd to an out file:
% of Size in
Object Library Type Owner Disk 1000 bytes
DSKDTL ROUTINES *FILE PROGRAMMER .03 1632927.7
RTVDIRINF
% of Size in
Object Library Type Owner Disk 1000 bytes
QAEZD0019O ROUTINES *FILE ROB .04 2676097.0
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.