Best way to do the DASD history capture…(Disk usage)

Tags:
Backup and Recovery
CRM
DataCenter
RPGLE
Dear team, i need to enhance our current system that captures the disk space uasge. i need to maintain the history over it. currently we do it by using DSPOBJD and DSPFD commands and write the details of all objects and files used in the whole system to the outfile.Hardly it takes more than 4 hours for single run. i am looking for some IBM system files where i can get the disk infomation... also i am looking for some better API's which will be faster for my requirements(currently i am trying with QUSLOBJ and QUSROBJD API's)... kindly advice me to proceed further... please suggest me on any other efficient solution... looking forward to get the earliest replies... Thanks, Ezhil

Answer Wiki

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

Their are two commands RTVDSKINF and PRTDSKINF which collect and print disk space usage information. These are part of the operating system. You should probably run this under a user profile name that has *ALL authority. This will show you how much space each library on the system takes up, as well as other system information such as space taken up by repors still on the system, folders and documents, etc.

The data is collectd in the RTVDSKINF command into a file named QAEZDISK if you take the device parameter default of *SYSBAS or QAEZDnnnnn if you collect data for a particular ASP where nnnnn is the ASP number. The PRTDSKINF command has a parameter that will allow different types of reports to be printed.

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

For simple DASD usage history, consider the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qwcrssts.htm”>Retrieve System Status (QWCRSSTS) API</a> with format SSTS0200. The storage capacity of the system auxiliary storage pool, percentage used and other info can be collected in a single call. Run your program once a week and insert values into a table. Over time, you’ll have a clean, neat table showing the trend.

Whenever spikes appear, you can check the QAEZDISK data that should be collected separately, perhaps also weekly.

Tom

Discuss This Question:  

 
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

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