Freeing up disk on your IBM i with Rob Berendt

advertisement
Freeing up disk on your IBM i
By Rob Berendt
04/16/2010
Traditional items
• Spool files
• Ptf save files
RTVDSKINF
Your first line of attack
The Retrieve Disk Information (RTVDSKINF) command is used to collect disk space information. Disk space
information can then be printed using the Print Disk Information (PRTDSKINF) command. The collected
information is stored in a database file in library QUSRSYS. The file name depends on the auxiliary storage pool
(ASP) device for which disk space information is retrieved. If the information was retrieved from the system and
basic ASPs, the collected information will be stored in file QAEZDISK. If the information was retrieved from an
independent ASP device, the collected information will be stored in file QAEZnnnnn, where 'nnnnn' is the ASP
number of the independent ASP. The information will be stored in a data base file member named QCURRENT.
Each time this command is run, existing information in QCURRENT is written over. To save existing information in
member QCURRENT, rename file QAEZDISK or QAEZDnnnnn, or copy the member to another file.
Note: Do not rename member QCURRENT within file QAEZDISK or QAEZDnnnnn. If there is more than one
member in QAEZDISK or QAEZDnnnnn, the results of running this command can be unpredictable.
RTVDSKINF
more small print
Restrictions:
1. You must have all object (*ALLJOB) special authority to collect
disk space information.
2. You must be enrolled in the system distribution directory to collect
folder and document information. Use the Work with Directory
Entries (WRKDIRE) command to enroll.
PRTDSKINF *SYS
PRTDSKINF *SYS
Information collected
. . . . . . . . . :
Total disk space on system in 1,000,000
bytes . . . . . . . . . . . . . . . . :
Main storage size in megabytes . . . . . :
Description
User libraries
User directories
Folders and documents
QSYS
Other IBM libraries
Licensed Internal Code
Temporary space
Unused space
System internal objects
Objects not in a library
TOTAL
03/18/10
04:00:02
326233
8116
% of
Disk
54.74
11.77
.00
.77
2.88
1.49
2.71
25.20
.28
.00
99.84
Size in
1,000,000 bytes
178588.88
38393.65
3.58
2516.57
9389.23
4855.48
8826.39
82217.03
897.42
.00
325688.23
i5/OS items reported
i5/OS items reported:
History files
Disk
1,000,000 bytes
.04
138.06
42.45
138477.56
User profiles
.03
104.44
Configuration information
.00
3.77
System help (QHLPSYS)
.01
44.03
Calendars
.00
1.59
System directories
.00
2.80
Document files
.00
2.92
Journal receivers
OfficeVision items reported
OfficeVision items reported:
Enrollment
Mail files
Text search
Personal directories
Disk
.00
.00
.00
.00
1,000,000 bytes
.12
.43
.00
.59
Licensed Internal Code
Licensed Internal Code:
LIC and tables
Dump space
Error logs
Trace tables
VLIC logs
VLIC control blocks
Disk
1.10
.33
.00
.00
.06
.00
1,000,000 bytes
3581.56
1077.94
5.07
.00
188.75
2.16
Space used by system internal
objects
Space used by system internal objects:
Additional configuration information
Communications
Data base
Manage jobs
Monitor performance
Folders
Mail
i5/OS
S/36 Environment
Security
SNADS and object distribution
Spool
Cross component
Product installation
Recovery of information
Obsolete
Internal system journals
Disk
.00
.00
.01
.18
.00
.00
.00
.01
.00
.02
.01
.04
.01
.00
.00
.00
.00
1,000,000 bytes
.12
8.31
31.11
589.01
.00
.23
.02
19.95
.00
64.41
25.83
135.59
18.04
.12
.92
.04
3.72
Miscellaneous items reported
Miscellaneous items reported:
Printer output & Spooling (QSPL)
Replaced object library (QRPLOBJ)
Storage affected by RCLSTG
Reclaim storage library (QRCL)
Disk
.45
.00
.00
.00
1,000,000 bytes
1476.66
11.94
.00
.10
PRTDSKINF
(Refreshed)
Information collected . . . . . . . . . :
03/22/10 10:52:29
Total disk space on system in 1,000,000
bytes . . . . . . . . . . . . . . . . :
326233
Main storage size in megabytes . . . . . :
8116
% of
Size in
Description
Disk
1,000,000 bytes
User libraries
62.28
203184.91
User directories
11.87
38726.31
Folders and documents
.00
3.58
QSYS
.78
2557.08
Other IBM libraries
2.88
9392.98
Licensed Internal Code
1.49
4855.48
Temporary space
3.26
10629.18
Unused space
17.04
55588.60
System internal objects
.33
1082.70
Objects not in a library
.00
.00
TOTAL
99.93
326020.82
i5/OS items reported
% of
Disk
i5/OS items reported:
History files
Journal receivers
User profiles
Configuration information
System help (QHLPSYS)
Calendars
System directories
Document files
.04
50.04
.03
.00
.01
.00
.00
.00
Size in
1,000,000 bytes
137.79
163239.19
104.44
3.77
44.03
1.59
2.80
2.93
PRTDSKINF *LIB
Type of report
ASP device . .
Libraries . .
Objects . . .
Object types .
.
.
.
.
.
+
Smallest size .
Sort by . . . .
. .
. .
. .
. .
. .
for
. .
. .
. . . . . . > *LIB
. . . . . .
*SYSBAS
. . . . . .
*ALL
. . . . . . > *NONE
. . . . . .
*ALL
more values
. . . . . .
0
. . . . . .
*SIZE
Library summary
Library
QUSRSYS
ROUTINES
QMPGDATA
QSYS
QSYSDIR
DOM85
...
Owner
QSYS
ROB
QPM400
QSYS
QSYS
PROGRAMMER
% of
Disk
49.99
4.30
3.19
.78
.64
.60
Size in
1000 bytes
163070406.7
14012014.6
10396958.7
2540699.1
2097987.6
1947873.3
PRTDSKINF *LIB
(with objects)
Type of report
ASP device . .
Libraries . .
Objects . . .
Object types .
.
.
.
.
.
+
Smallest size .
Sort by . . . .
. .
. .
. .
. .
. .
for
. .
. .
. . . . . . > *LIB
. . . . . .
*SYSBAS
. . . . . .
*ALL
. . . . . . > *ALL
. . . . . .
*ALL
more values
. . . . . . > 10000
. . . . . .
*SIZE
w/Objects
Library/
Object
QUSRSYS
QAUDJR0261
QAUDJR0262
QAUDJR0266
QAUDJR0283
QAUDJR0288
QAUDJR0290
QAUDJR0345
QAUDJR0348
...
QAEZDISK
ROUTINES
IFSLIST
QAEZD0058O
QAEZD0054O
QAEZD0017O
QAEZD0014O
Type
*LIB
*JRNRCV
*JRNRCV
*JRNRCV
*JRNRCV
*JRNRCV
*JRNRCV
*JRNRCV
*JRNRCV
Owner
QSYS
PROGRAMMER
PROGRAMMER
PROGRAMMER
PROGRAMMER
PROGRAMMER
PROGRAMMER
PROGRAMMER
PROGRAMMER
*FILE
*LIB
*FILE
*FILE
*FILE
*FILE
*FILE
PROGRAMMER
ROB
SSA
PROGRAMMER
PROGRAMMER
PROGRAMMER
PROGRAMMER
% of
Library
.94
.94
.94
.94
.94
.94
.94
.94
.02
28.23
1.30
1.24
1.24
1.24
Size in
1000 bytes
163070406.7
1540194.3
1540194.3
1540194.3
1540194.3
1540194.3
1540194.3
1540194.3
1540194.3
29474.8
14012014.6
3956215.8
181481.5
173183.0
173162.5
173092.9
Before/After cleaning receivers
System ASP . . . . . . . . . . . . . . :
% system ASP used . . . . . . . . . . :
326.2 G
83.7664
After
% system ASP used
. . . . . . . . . . :
36.2684
Run SQL Scripts
Biggest objects left
-- List of objects by biggest object, descending
-- Does NOT include stream file (aka other IFS) stuff
Select
diobsz as size,
diobli as library,
diobnm as object,
diobtp as type,
diobat as attribute
From qusrsys.qaezdisk
where diobli <> ' '
Order by diobsz desc;
Biggest objects left
Other IBM libraries
If you see significant space in “Other IBM libraries” you may want
to look carefully in the PRTDSKINF *LIB. One user noticed these
libraries
% of
Size in
Library
Owner
Disk
1000 bytes
QPFRD61001
QSYS
.12
404222.0
QPFRD54001
QSYS
.11
366313.5
They all had a text of “Down level files from library QMPGDATA”.
On his system they consumed 30% of his disk.
What about “User directories”?
% of
Description
Disk
User libraries
15.39
User directories
11.84
Folders and documents
.00
QSYS
.78
Other IBM libraries
2.87
Licensed Internal Code
1.49
Temporary space
3.54
Unused space
63.62
System internal objects
.32
Objects not in a library
.00
TOTAL
99.85
Size in
1,000,000 bytes
50200.09
38617.42
3.58
2557.05
9375.59
4855.48
11543.27
207540.71
1038.80
.00
325731.99
RTVDIRINF DIR('/') INFLIB(...)
WRKF QAEZD*
QAEZD0001D
QAEZD0001O
QAEZD0002D
QAEZD0002O
QAEZD0003D
QAEZD0003O
…
List of objects by biggest
directory
-- List of objects by biggest directory
With t1 as(
select distinct d.qezdirnam1 as ParentDirectory,
qezdiridx
from routines.QAEZD0058d d
where locate('/',d.qezdirnam1,2)=0
and d.qezdirnam1<>'/'
),
T2 as (
Select ParentDirectory, qezdirnam1,o.qezdtasize as size
from T1, routines.qaezd0058d d left outer join
routines.qaezd0058o o on d.qezdiridx=o.qezdiridx
where qezdirnam1 like trim(ParentDirectory) concat '%'
and (qezdirnam1 = ParentDirectory or
substr(qezdirnam1,1,max(locate('/',qezdirnam1,2)-1,1)) =
ParentDirectory)
)
select ParentDirectory, sum(size) as dirsize
From T2
Group by ParentDirectory
order by 2 desc;
List of objects by biggest
directory
Growth, by directory
-- List of objects by biggest directory
-- Compared to an earlier run to check growth on that directory.
With t1 as(
select distinct d.qezdirnam1 as ParentDirectory,
qezdiridx
from routines.QAEZD0058d d
where locate('/',d.qezdirnam1,2)=0
and d.qezdirnam1<>'/'
),
T2 as (
Select ParentDirectory, qezdirnam1,o.qezdtasize as size
from T1, routines.qaezd0058d d left outer join
routines.qaezd0058o o on d.qezdiridx=o.qezdiridx
where qezdirnam1 like trim(ParentDirectory) concat '%'
and (qezdirnam1 = ParentDirectory or
substr(qezdirnam1,1,max(locate('/',qezdirnam1,2)-1,1)) = ParentDirectory)
),
t3 as(
select distinct d.qezdirnam1 as ParentDirectory,
qezdiridx
from routines.QAEZD0057d d
where locate('/',d.qezdirnam1,2)=0
and d.qezdirnam1<>'/'
),
cont
T4 as (
Select ParentDirectory, qezdirnam1,o.qezdtasize as size
from T1, routines.qaezd0057d d left outer join
routines.qaezd0057o o on d.qezdiridx=o.qezdiridx
where qezdirnam1 like trim(ParentDirectory) concat '%'
and (qezdirnam1 = ParentDirectory or
substr(qezdirnam1,1,max(locate('/',qezdirnam1,2)-1,1)) = ParentDirectory)
),
T5 as (
select t2.ParentDirectory, sum(t2.size) as dirsize
From T2
Group by ParentDirectory
order by 2 desc
),
cont
T6 as (
select t4.ParentDirectory, sum(t4.size) as dirsize
From T4
Group by ParentDirectory
order by 2 desc
)
select t5.ParentDirectory, t5.dirsize, ifnull(t6.dirsize,0) as OldSize,
t5.dirsize - ifnull(t6.dirsize,0) as growth
from t5 left outer join t6 on t5.ParentDirectory = t6.ParentDirectory
order by growth desc
;
Results
Detailed
-- List of objects by biggest directory - Detailed
With t1 as(
select distinct d.qezdirnam1 as ParentDirectory,
qezdiridx
from routines.QAEZD0058d d
where locate('/',d.qezdirnam1,2)=0
and d.qezdirnam1<>'/'
),
T2 as (
Select ParentDirectory, qezdirnam1 as Dir, qezobjnam as
object,o.qezdtasize as size
from T1, routines.qaezd0058d d left outer join
routines.qaezd0058o o on d.qezdiridx=o.qezdiridx
where qezdirnam1 like trim(ParentDirectory) concat '%'
and (qezdirnam1 = ParentDirectory or
substr(qezdirnam1,1,max(locate('/',qezdirnam1,2)-1,1)) =
ParentDirectory)
)
select ParentDirectory, dir, object,size
From T2
where ParentDirectory like '/fixes%'
order by ParentDirectory, size desc
;
Detailed Results - fixes
Detailed Results – gdi01
Detailed Results - /QIBM
System 2
Total disk space on system in 1,000,000
bytes . . . . . . . . . . . . . . . . :
210990
% of
Size in
Description
Disk
1,000,000
bytes
User libraries
71.41
150657.68
User directories
3.72
7852.45
Folders and documents
.12
262.48
QSYS
1.43
3008.61
Other IBM libraries
2.34
4935.92
Licensed Internal Code
1.83
3864.31
Temporary space
2.36
4977.59
Unused space
15.76
33243.50
System internal objects
.35
743.61
Objects not in a library
.00
1.37
TOTAL
99.32
209547.52
PRTDSKINF *LIB
Library
EMIFILES
AMAFILES
LECFILES
PMBDMART61
LEPFILES
ERAFILES
RBSPGMLIB
PEPFILES
SEAFILES
PMBBS61
EPAFILES
RJSTEMP
QSYS
QGPL
PMBPROD
NCRFILES
...
Owner
QPGMR
QPGMR
QPGMR
QPGMR
QPGMR
QPGMR
RBTADMIN
QPGMR
QPGMR
QPGMR
QPGMR
QTMHHTP1
QSYS
QSYS
DTYNDALL
QPGMR
% of
Disk
15.06
4.82
4.33
3.64
2.71
2.57
2.46
2.38
2.29
2.25
1.65
1.54
1.42
1.36
1.36
1.32
Size in
1000 bytes
31764607.0
10176118.8
9132789.8
7689179.1
5718450.2
5414633.5
5186822.1
5016404.0
4836237.3
4739317.8
3491524.6
3244945.4
2993903.1
2865692.7
2863366.1
2791444.5
PRTDSKINF *LIB with obj
PRTDSKINF RPTTYPE(*LIB) OBJ(*ALL) MINSIZE(10000)
Library/
Object
EMIFILES
DMFJRNHS
DMRIJRNHS
DMRJRNHS
DMMJRNHS
TRANS
...
AMAFILES
DMFJRNHS
DMRIJRNHS
DMRJRNHS
...
Type
*LIB
*FILE
*FILE
*FILE
*FILE
*FILE
Owner
QPGMR
QPGMR
QPGMR
QPGMR
QPGMR
QPGMR
*LIB
*FILE
*FILE
*FILE
QPGMR
QPGMR
QPGMR
QPGMR
% of
Library
21.45
13.92
11.43
4.20
3.66
Size in
1000 bytes
31764607.0
6813753.3
4420911.1
3629232.1
1332854.8
1161936.9
20.48
13.79
11.64
10176118.8
2083622.9
1403105.3
1185001.5
Save files
SELECT DIOBLI AS LIBRARY, DIOBNM AS OBJECT,
DIOBAT AS ATTR, DIOBSZ AS SIZE
FROM QUSRSYS/QAEZDISK
WHERE DIOBAT='SAVF'
ORDER BY DIOBSZ DESC
LIBRARY
QIWA2
QJAVA
QGPL
QGPL
QGPL
QSYSDIR
QGPL
QSYSDIR
QSYSDIR
QGPL
QGPL
QGPL
QSYSDIR
QGPL
...
OBJECT
QSI33310J4
QSI18127J1
QSI36331
QSI36797
QSI37237
QSI17959J1
QSI36479
QLWILWI71
QPZA011059
Q5799PTL
QSI36530
QSI37712
QPZ1IWSS1O
QSI36102
SIZE
355,500,032
353,271,808
189,698,048
180,883,456
171,667,456
156,270,592
148,082,688
127,811,584
127,795,200
118,591,488
105,537,536
97,243,136
93,872,128
86,122,496
PTF save files
SELECT DIOBLI AS LIBRARY, DIOBNM AS OBJECT,
cast(DIOBSZ as dec(9,0)) AS SIZE
FROM QUSRSYS/QAEZDISK
WHERE DIOBAT='SAVF'
AND DIOBLI LIKE 'Q%' AND DIOBNM LIKE 'Q%'
ORDER BY DIOBSZ DESC
LIBRARY
QIWA2
QJAVA
QGPL
QGPL
QGPL
QSYSDIR
QGPL
QSYSDIR
QSYSDIR
QGPL
QGPL
QGPL
QSYSDIR
QGPL
...
OBJECT
QSI33310J4
QSI18127J1
QSI36331
QSI36797
QSI37237
QSI17959J1
QSI36479
QLWILWI71
QPZA011059
Q5799PTL
QSI36530
QSI37712
QPZ1IWSS1O
QSI36102
SIZE
355,500,032
353,271,808
189,698,048
180,883,456
171,667,456
156,270,592
148,082,688
127,811,584
127,795,200
118,591,488
105,537,536
97,243,136
93,872,128
86,122,496
Total PTF save files
SELECT SUM(DIOBSZ) AS TOTALSIZE
FROM QUSRSYS/QAEZDISK
WHERE DIOBAT='SAVF'
AND DIOBLI LIKE 'Q%' AND DIOBNM LIKE 'Q%'
TOTALSIZE
5,065,977,856
or 2.4% of 211GB
Other save files
SELECT DIOBLI AS LIBRARY, DIOBNM AS OBJECT,
cast(DIOBSZ as dec(9,0)) AS SIZE
FROM QUSRSYS/QAEZDISK
WHERE DIOBAT='SAVF'
AND not(DIOBLI LIKE 'Q%' AND DIOBNM LIKE 'Q%')
ORDER BY DIOBSZ DESC
LIBRARY
NGSSUPPORT
ZENDCORE
NGSJWINS
C61CLAIMS
PMBBS61
QSYSINC
QSYSINC
QSYSINC
PMBBS61
NGSJWINS
C61CLAIMS
QGPL
QSYSINC
QSYSINC
PMBBS61
...
OBJECT
QIQE6403
ZENDMYSQL
JWKIFS31R0
PHASE1
EXBILFIL04
UNISAVE
UNISAVE34
UNISAVE32
EXBILFIL03
SEJIFS31R0
CMBMAINT
SVN14PRD
UNISAVE24
UNISAVE26
EXBILFIL02
SIZE
65,101,824
61,673,472
35,151,872
25,198,592
16,281,600
15,785,984
15,785,984
14,716,928
14,184,448
14,184,448
13,987,840
13,987,840
13,668,352
13,139,968
12,611,584
Deleted records
DSPFD FILE(*ALL/*ALL) TYPE(*MBRLIST) OUTPUT(*OUTFILE) FILEATR(*PF)
OUTFILE(QTEMP/DSPFD)
SELECT MLLIB, MLFILE, MLNAME, MLNDTR
FROM ROB/DSPFD
ORDER BY mlndtr desc
Library
File
Member
PMBDMART61
RBSPGMLIB
PMBBS61
EMIFILES
PMBBS61
EMIFILES
LECFILES
EMIFILES
EMIFILES
LEPFILES
SEAFILES
AMAFILES
...
DMTMPINS
RBSOH
XECSREF
TRWRKOPR
SYSTEMZ
TRWRKOPD
SOUNDXPF
TRWRKOPH
TRWRKOPM
SOUNDXPF
TRWRKOPR
TRWRKOPR
DMTMPINS
RBSOH
XECSREF
TRWRKOPR
SYSTEMZ
TRWRKOPD
SOUNDXPF
TRWRKOPH
TRWRKOPM
SOUNDXPF
TRWRKOPR
TRWRKOPR
Deleted
Records
6,179,026
225,283
75,601
17,276
9,444
8,168
5,852
5,399
5,399
5,351
4,719
4,616
Deleted space
DSPFD FILE(ROB/*ALL) TYPE(*MBR) OUTPUT(*OUTFILE) FILEATR(*PF)
OUTFILE(QTEMP/DSPFDOUT)
SELECT MBLIB, MBFILE, MBNAME, MBNDTR, MBNDTR * MBMXRL AS DELSPACE
FROM QTEMP/DSPFDOUT
ORDER BY mBndtr*MBMXRL desc
Directories
PARENTDIRECTORY
/QSYS.LIB
/QIBM
/usr
/QOpenSys
/QDLS
/QCA400
/RBSTMPLIB
/www
/NGSJWALK
/JWALK
/RJSTEMP
/JWALKC61
/SEAJWK
/NGSJWR
/CFPMB
...
DIRSIZE
123,926,617,828
1,585,680,999
859,082,352
466,744,063
177,440,609
70,185,973
59,659,232
51,795,922
32,897,411
32,873,086
29,138,944
26,725,882
6,617,400
1,393,416
1,277,458
/QIBM
OBJECT
iNav.ear
setup.exe
QSI333105722XH20005R04M00505000000018
iwawps.war
src.jar
rt.jar
UNI1.CAB
QSI333105722XH20005R04M00505000000019
habeansnlv.jar
IDSWebApp.ear
JRE1.CAB
QSI169155722XE10005R02M00505000000013
...
SIZE
187,696,231
77,683,617
29,081,765
29,081,718
19,497,537
19,343,171
18,296,089
17,119,740
17,119,740
16,460,986
16,248,776
13,949,702
/usr
DIR
/usr/local/Zend/Core/lib
/usr/local/Zend20081106223315/Core/lib
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib
/usr/local/Zend20081106223315/Core/lib
/usr/local/Zend/Core/lib/php/20060613
/usr/local/Zend20081106223315/Core/lib/php/20060613
/QOpenSys
DIR
/QOpenSys/QIBM/ProdData/OS400/PASE/lib
/QOpenSys/QIBM/ProdData/OS400/PASE/lib
/QOpenSys/QIBM/ProdData/OS400/PASE/lib
/QOpenSys/QIBM/ProdData/OS400/PASE/lib
/QOpenSys/QIBM/ProdData/DeveloperTools/emacs/bin
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc
/QOpenSys/QIBM/ProdData/OS400/PASE/lib/nls/loc
...
OBJECT
SIZE
libxlf90_r.a
12,314,298
libXm.a
10,676,892
libc.a
8,174,466
libC.a
8,079,369
emacs
7,573,089
TE_IN.UTF-8__64 6,822,537
HI_IN.UTF-8__64 6,729,611
MR_IN.UTF-8__64 6,729,611
GU_IN.UTF-8__64 6,691,348
TA_IN.UTF-8__64 6,670,169
ID_ID.UTF-8__64 6,647,065
/QDLS
DIR
/QDLS/TRANSFER
/QDLS/MONTHEND/EMI
/QDLS/TRANSFER
/QDLS/TRANSFER
/QDLS/MONTHEND/EMI
/QDLS/MONTHEND/LEC
/QDLS/QBKBOOKS/UNITABLE
/QDLS/QBKBOOKS/UNITABLE
/QDLS/QBKBOOKS/UNITABLE
/QDLS/MONTHEND/ESP
/QDLS/MONTHEND/PCR
/QDLS/TRANSFER
/QDLS/MONTHEND/LEP
/QDLS/TRANSFER
/QDLS/MONTHEND/PCR
...
OBJECT
CTYSTATE.WRK
ARSELPRT.PDF
PPRRVU10.CSV
PPRRVU09.CSV
PRANAL.PDF
PRANAL.PDF
EPHU932
EPHU939
EPHU942
PRANAL.PDF
PRANAL.PDF
X12N271
PRANAL.PDF
XENVYFLO
PRANL3.PDF
SIZE
61,170,843
5,146,291
2,365,799
2,291,868
1,065,234
962,749
786,432
786,432
786,432
661,559
618,419
574,163
408,437
331,250
278,643
MGTC/service
/QIBM/UserData/OS400/MGTC/service
This directory can get quite sizable. You may have turned
on tracing at one time to help IBM help you with a
problem. If you have data in there see:
http://www01.ibm.com/support/docview.wss?uid=nas1d1cbd364ea281
99b862573d20062e9cb
Or search ibm.com for 862573D20062E9CB
GO CLEANUP
Type choices below, then press Enter.
Allow automatic cleanup . . . . . . . . . . .
Y
Y=Yes, N=No
Time cleanup starts each day
22:00:00
00:00:0023:59:59,
*SCDPWROFF,
*NONE
7
4
*KEEP
7
30
1-366,
1-366,
1-366,
1-366,
1-366,
. . . . . . . .
Number of days to keep:
User messages . . . . . . . . . .
System and workstation messages .
Critical system messages . . . .
Job logs and other system output
System journals and system logs .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*KEEP
*KEEP
*KEEP
*KEEP
*KEEP
GO CLEANUP help
PTF save files
-- List of objects by biggest object, descending
-- Does NOT include stream file (aka other IFS) stuff
-- Save files only
Select
diobsz as size,
diobli as library,
diobnm as object,
diobtp as type,
diobat as attribute
From qusrsys.qaezdisk
where diobli <> ' '
and diobat='SAVF'
Order by diobsz desc;
Summary
Always start with RTVDSKINF.
Query the data generated by RTVDIRINF for some detail
about stream files.
What you knew in the past may still be important, but,
start with the above first to get the biggest bang for your
buck.
Hip Shots
Keep your /QIBM/UserData/OS400/MGTC/service
directory clean.
Watch your journal receivers.
If a Domino shop consider:
R8 compression
DAOS
Archiving
clearing out your IBM_TECHNICAL_SUPPORT
directory
Hip Shots
Apply your ptf’s permanently.
Reference
http://www.statususer.org/pdf/20100413Freeing%20up%20disk
%20on%20your%20IBM%20i.ppt
rob@dekko.com
Download