United States-English |
|
|
HP-UX Reference > Kkclog(1M)HP-UX 11i Version 3: February 2007 |
|
NAMEkclog — manage kernel configuration log file DESCRIPTIONkclog is the administrative command for the HP-UX kernel configuration log file. The log file is automatically maintained by all of the kernel configuration commands (kconfig, kcmodule, and kctune). Any change to any kernel configuration gets logged to this log file, which is located at /var/adm/kc.log. Note that this file is a plain text file which can be viewed and manipulated using standard Unix file management commands; kclog exists simply for convenience in finding particular log file entries. Under normal usage, kclog prints the last count entries in the log file. When one of the options is specified, kclog prints the last count entries that match the specified criteria. If count is not specified, it defaults to 1. Options
RETURN VALUEkclog returns zero for success. It returns non-zero and prints a diagnostic message if an error occurs. EXAMPLESTo see the last three entries in the log: $ kclog 3 To see the last entry for the tunable nproc: $ kclog -t tunable -n nproc To see the last five entries for module changes: $ kclog -t module 5 To see all entries for module changes: $ kclog -a -t module To see the last entry mentioning Aberdeen: $ kclog -f Aberdeen WARNINGSThe format of the log file may be changed without notice. Some configuration changes can be made without using the kernel configuration commands. No log file entries are made for such changes. The log file should not be manually edited. Doing so may cause kclog to behave unpredictably. SEE ALSOkcmodule(1M), kconfig(1M), kctune(1M), kconfig(5). HP-UX System Administrator's Guide: Configuration Management, available on http://docs.hp.com. |
Printable version | ||
|