Reading the monitor data

Red Hat Enterprise Linux 9.2 z/VM guest

All records written to the z/VM® monitor stream begin with a product identifier.

The product ID is a 16-byte structure of the form pppppppffnvvrrmm, where for records that are written by mon_procd, these values are:
ppppppp
is a fixed ASCII string LNXAPPL.
ff
is the application number for mon_procd = x'0002'.
n
is the record number as follows:
  • x'00' indicates summary data.
  • x'01' indicates process data.
vv
is the version number = x'0000'.
rr
is the release number, which can be used to mark different versions of process APPLDATA records.
mm
is reserved for mon_procd and should be ignored.
Note: Though the mod_level field (mm) of the product ID varies, there is no relationship between any particular mod_level and process. The mod_level field should be ignored by the reader of this monitor data.

This item uses at most 101 monitor buffer records from the monwriter device driver. A maximum number of buffers is set when a monwriter module is loaded. Because of this, the maximum number of buffers must not be less than the sum of buffer records that are used by all monwriter applications.

There are many tools available to read z/VM monitor data. One such tool is the Linux® monreader character device driver.