xchklog8
Extract a log from the jfs fsck workspace into a file
Usage
xchklog [-f
output.file]
[-p]
[-V]
device
Overview
xchklog extracts the contents of either the most recent or immediately prior JFS fsck service log from the specified device, and writes the output into a specified or default file. (The default file name is <pwd>fscklog.new. If the -p option is used, the default file name is <pwd>fscklog.old.)
The contents of the output file can be formatted into text by using the JFS utility xchkdmp.
device is the special file name corresponding to the actual device from which the fsck log will be extracted (e.g. /dev/hdb1 ).
Options
-foutput.file-
Specify the output file name, overriding the default file name.
output.file must be 127 characters or less in length.
output.file will be created in the present working directory unless it is fully qualified.
-
-p -
Extract the prior log (as opposed to the most recent log).
-
-V -
Print version information and exit (regardless of any other chosen options).
Examples
Extract the most recent log on /dev/hda5 into <pwd>fscklog.new:
-
xchklog /dev/hda5
Extract the most recent log on /dev/hdb3 into /temp/l9651107.log:
-
xchklog -f /temp/l9651107.log /dev/hdb3
Extract the prior log on /dev/hdb4 into <pwd>fscklog.old:
-
xchklog -p /dev/hdb4