NOT programming interface information
NOT programming interface information

Obtaining SMF record data directly

The RMF™ data interface service for Monitor II allows you to directly access SMF record data from storage in real time, rather than through SMF. Application programs can easily access SMF record data. The service provides easy access to SMF data for application programs. SMF record type 79, and the Monitor II header information for system CPU utilization and system demand paging rate, are supported.

To use the RMF data interface service, invoke the module ERBSMFI with the registers and parameters described in Parameter list contents.
Note: Do not link the module ERBSMFI into your application program. Code the program to call ERBSMFI at run time. How to do this depends on the programming language you use:
  • In Assembler, use LOAD or LINK macros
  • In PL/I, use FETCH and RELEASE
  • In C, use the fetch built-in function

The service returns only one record to the caller, which contains all the data. There is no 32K size limit; that is, the record is not broken up into 32K records.

The caller must be in 31-bit addressing mode and can run unauthorized.

Note that for some of the records, Monitor I must be running. These are as follows:

For more information about SMF record type 79, see SMF record type 79.

End of NOT programming interface information
End of NOT programming interface information