krecover utility

This utility is used to control the journalling daemon.

The command line switches are:

Switch Purpose
-i logging information
-e enable logging
-n enable huge log
-d disable logging
-D delete shared memory
-k shutdown daemon
-K kill daemon
-s force a sync
-S force syncing mode
-f force recovery of recent logs ( < 6 hours old )
-F force recovery and don't check the age of the log
-T force total recovery of huge log
-l name logging output filename
-m num set maximum size of log
-p num set sync pause to num
-r name use name to read log
-w name use name to write file
-v num set verbose level
where num is
== 0 silent - no error messages
>= 1 error messages - default
>= 2 status and file names
>= 3 headers
>= 4 sub headers
-x num set transaction mode to num
This is a bit field where,
0x01 KDB transaction logging ON
0x02 check that tables are locked
0x04 take transaction system lock
0x08 take KDB logging system lock
0x10 ERR if transaction locking is off
0x20 automatic KI_ROLLBACK on error
-u unlock semaphore
-h list command line switches
-t tail journal log
-z disable check for running KCMLs
-Z zap current log file to nulls