Querying the z/VM recording status
Use the recording_status attribute of the z/VM recording device driver representation in sysfs to query the z/VM recording status.
Example
This example runs the z/VM CP command QUERY RECORDING and returns the complete output of that command. This list does not necessarily have an entry for all three services and there might also be entries for other guests.
# cat /sys/bus/iucv/drivers/vmlogrdr/recording_status
This
command results in output similar to the following example:
RECORDING COUNT LMT USERID COMMUNICATION
EREP ON 00000000 002 EREP ACTIVE
ACCOUNT ON 00001774 020 DISKACNT INACTIVE
SYMPTOM ON 00000000 002 OPERSYMP ACTIVE
ACCOUNT OFF 00000000 020 LINUX31 INACTIVE
where
the lines represent: - The service
- The recording status
- The number of queued records
- The number of records that result in a message to the operator
- The guest that is or was connected to that service and the status of that connection
A detailed description of the QUERY RECORDING command can be found in the z/VM: CP Commands and Utilities Reference, SC24-6268.