>>-CHECK--LOGS--+----------------+------------------------------> '-UNIQID--lognbr-' >--+------------------------+--+------------------------+------>< | (1) | +-DISPLAY----------------+ '-| Coserver_List |------' '-SAVE--+--------------+-' '-IN--filename-'
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
lognbr | The logical-log uniqid. | Value must be a valid used logical-log uniqid. | Unsigned integer. |
filename | The relative or absolute path and name of the file in which onutil stores the command output | If you run the onutil command from the command line, put backslashes in front of the double quotes around the filename. | Use the operating-system rules for the filename. |
Use the onutil CHECK LOGS command to check pages from the physical and logical log. You can run CHECK LOGS when the database server is offline or online.
To check an individual logical log, use the UNIQID clause. Determine the unique id of the logical log that you want to check with the xctl onstat -l command and place it after the UNIQID keyword.
The following examples show different options of the CHECK LOGS statement:
$onutil > CHECK LOGS DISPLAY; > CHECK LOGS UNIQID 4 SAVE IN "myfile"; > CHECK LOGS COSERVER ifmx.2;