Drive Space- What commands are useful in monitoring and checking available drive space for IBM Iseries server

25 pts.
Tags:
IBM iSeries
V5R3
What commands are useful in monitoring and checking available drive space for IBM Iseries server. I have Version 5 release 3 installed.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

WRKSYSSTS and WRKDSKSTS are 2 of the most useful commands for disk space. It might also be worth looking at ops navigator. The ops navigator can run some tools for collecting data over a period of time.

Regards,

Martin Gilbert.

====================================================

If basic tracking is desired, the Retrieve System Status (QWCRSSTS) API can be called on a daily (or more often) schedule. The returned values could be written to a “system status” log file. This could be kept for a long time to show growth trends or other information. One record per day means the file could continue for a long time.

Tom

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Especially for inexperienced users, DSPSYSSTS is far preferable to WRKSYSSTS. No input fields! Tom
    125,585 pointsBadges:
    report
  • azohawk

    I agree DSPSYSSTS and WRKSYSSTS are your friends for general status. If you are looking to see what libraries/files/etc. are growing  RTVDSKINF and PRTDSKINF will give you detail based on what parms you put in. In a previous life, we ran these two commands weekly over the weekend to look at abnormal growth.  The prtdskinf gives current and past 3 rtvdskinf results, making it easy to scan for trends. Sometimes I would take the report and download to a spreadsheet for more analysis.  But, I would only use this if I have a growth problem I wasn't expecting and trying to figure it out. Still, i would run the RTVDSKINF on a regular basis (weekly, monthly or similar) during off hours (takes a while and uses a lot of resources as I recall). Use a job schedular to run it.

    Otherwise their are 3rd party products that can do more.

    If you are having space issues look for old journal recivers and QHIST logs that can be deleted.

    675 pointsBadges:
    report
  • WoodEngineer
    I run a short CL every day with the code below.  It runs in a flash and returns the percent of disk space used.  As a point of comparison, I saved the percentage value about a year ago and compare the current percent to the historical percent for a quick check on how fast disk usage is changing.
    DCL        VAR(&RCVDTA) TYPE(*CHAR) LEN(067)             
    DCL        VAR(&RCVLEN) TYPE(*CHAR) LEN(4) +             
                 VALUE(X'00000043')                          
    DCL        VAR(&RESETO) TYPE(*CHAR) LEN(10) +            
                 VALUE('*YES      ')                         
    DCL        VAR(&FMTNAM) TYPE(*CHAR) LEN(08) +            
                 VALUE('SSTS0200')                           
    DCL        VAR(&ERRSTS) TYPE(*CHAR) LEN(08) +            
                 VALUE(X'00000000')                          
    DCL        VAR(&PCTASP) TYPE(*DEC) LEN(7) VALUE(0)       
    DCL        VAR(&PCTX) TYPE(*DEC) LEN(7 4) VALUE(0)       
    CALL       PGM(QWCRSSTS) PARM(&RCVDTA &RCVLEN &FMTNAM +  
                 &RESETO &ERRSTS)                            
    CHGVAR     VAR(&PCTASP) VALUE(%BIN(&RCVDTA 53 4))        
    CHGVAR     VAR(&PCTX) VALUE(&PCTASP / 10000)             

    6,875 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following