System console files
The following are system console files:
- /dev/console (major 9, minor 0). Data written to the /dev/console file is sent to the console and is displayed in message BPXF024I by means of a write-to-operator function. This message also contains the user ID of the process that wrote to the console. It is automatically created the first time the system is IPLed and is created with minor number 0.
- /dev/operlog (major 9, minor 1). This device file is intended
for the syslog daemon. Data written to the /dev/operlog file is sent directly
to the sysplex message log, OPERLOG, which must be active, and is displayed in message BPXF060I. For
each write operation to /dev/operlog, the first character is removed from the
message and used as a message indicator code with the following values:
- '00'x
- The message originated on a remote system.
- '80'x
- The message originated on the local system.
Using /dev/operlog is a quick way of logging messages.