HP XP Command View Advanced Edition Software User Manual
Page 220
3.
In the panel showing SYSLOG, enter the
SDSF
command to extract SYSLOG data for the desired
period to the dataset you created in step 1.
To extract information from 13:00 to 14:00, enter as follows.
PRINT ODSN 'YUKON.KTLOG'
PRINT 13:00:00 14:00:00
PRINT CLOSE
4.
Use the ISPF editor to display a panel for editing the dataset created in step 3.
5.
In the ISPF editor panel, enter the following command to delete the lines other than the CLI
command-execution logs.
exclude p'KTC31#I' all
delete all nx
reset
save
6.
Terminate the ISPF editor.
Extracting CLI command-execution logs by using an extraction script
You can extract CLI command-execution logs to a sequential dataset by using an extraction script.
Procedure
1.
Create a dataset to which SYSLOG data will be extracted.
YUKON.SYSLOG
is assumed as the name of the allocated sequential dataset.
2.
Create a dataset to which only CLI command-execution logs will be extracted.
YUKON.KTLOG
is assumed as the name of the allocated sequential dataset.
3.
Display SYSLOG in the SDSF panel.
4.
In the panel showing SYSLOG, enter the
SDSF
command to extract SYSLOG data for the desired
period to the dataset you created in step 1.
To extract the information from 13:00 to 14:00, enter as follows.
PRINT ODSN 'YUKON.SYSLOG'
PRINT 13:00:00 14:00:00
PRINT CLOSE
Collecting trace information and logs
220