|
Run the RTVDSKINF command in batch. When it completes running run the
PRTDSKINF command to analyze it. Start with the *SYS option on the
PRTDSKINF command. Then graduate to the other options. Once you've got
this mastered then you can start collecting historical data:
(In SQL)
create collection mylib
CREATE TABLE MYLIB/MYFILE (DATECOLLECTED DATE NOT NULL WITH
DEFAULT, LIBRARY CHAR (10 ) NOT NULL WITH DEFAULT, LIBRARYSIZE DEC
(13 , 0) NOT NULL WITH DEFAULT)
INSERT INTO MYLIB/MYFILE (
SELECT CURRENT DATE ,
DIOBLI,
sum(DIOBSZ)
FROM qusrsys/qaezdisk WHERE DIOBLI <>' '
GROUP BY DIOBLI)
DATECOLLECTED LIBRARY LIBRARYSIZE
06/26/01 #CGULIB 98,304
06/26/01 #DFULIB 352,256
06/26/01 #DSULIB 200,704
06/26/01 #IDDUMSC 811,008
06/26/01 #IDDUTPF 4,911,104
06/26/01 #LIBRARY 782,336
06/26/01 #RPGLIB 6,864,896
06/26/01 #SDALIB 98,304
06/26/01 #SEULIB 176,128
Rob Berendt
==================
A smart person learns from their mistakes,
but a wise person learns from OTHER peoples mistakes.
RickCarter@holley.c
om To: MIDRANGE-L@midrange.com
Sent by: cc:
owner-midrange-l@mi Subject: Monitoring Library
sizes
drange.com
06/26/2001 11:35 AM
Please respond to
MIDRANGE-L
What is the best tool or method ( that already resides on the AS400 V4R4 )
to monitor the size of AS400 libraries on a continuing basis. I am looking
at the best way to see what libraries are growing on a daily or weekly
basis.
thanks
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
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.