I would like to start logging the current percentage of disk use. I looked at the QYASRDI API but it doesn't seem to return the Percentage Used figure. Does anyone know of another API that would return the DISK USAGE percentage or at least the disk capacity and amount used so I could do the calculation myself?
I'm doing this because we have a lot of systems and would like to monitor which ones reach a threshold that is set by management but is NOT related to critical disk utilization. That is, if we are running at 70% but then after a month-end run jump up to 85% usage, we want to know that so we can look at the systems that may have contributed to this jump in utilization.
We're planning on replacing the systems over the next two years and lets just say there are several legacy S/36-style application designs in place which do things like CPYF, FMTDATA and other goofy techniques that could easily have been done with LOGICAL views or better yet, SQL.
We will prioritize the app changes based on those that consume the most DASD, hence the need to know if there is an API that can retrieve that piece of information.