× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This information is available from Collection Services. The file
is QAPMSMDSK which may be in QPFRDATA library or maybe somewhere else.
Unfortunately this file contains members, which usually change every 24
hours at midnight, but may be different.
To read members with SQL an ALIAS must be created, which would have to be
changed to the new member every day (or other timescale).
Here is the SQL that you can use in Custom Charts

Run once after the member name changes, where xxxxxxxxx is todays number
(creates a *FILE object in MYLIB)

create alias MYLIB.DSKR_TODAY for QPFRDATA.QAPMSMDSK (Qxxxxxxxxx);

The SQL below assumes the Collection Services update Disk Info every 5
minutes. You can place both Read and Write metrics on one Custom Chart.
You should also change the default refresh the same time interval as the
SQL e.g. 5 minutes.

For Disk Reads

select
double(SMDTRRSPT / SMDTROPS / 1000.00)
as DISK_READ_RSPNS
from MYLIB.DSKR_TODAY
where (SMDBDD = '01')
and time(DATETIME) between
current time - 5 minutes and current time
fetch first 1 row only;

For Disk Writes

select
double(SMDTWRSPT / SMDTROPS / 1000.00)
as DISK_WRITE_RSPNS
from MYLIB.DSKR_TODAY
where (SMDBDD = '01')
and time(DATETIME) between
current time - 5 minutes and current time
fetch first 1 row only;

Regards
Terry

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.