HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
k
krsd(1M) krsd(1M)
NAME
krsd - kernel registry services daemon
SYNOPSIS
krsd -1
krsd
[-i][-d seconds]
DESCRIPTION
krsd saves data, flagged as persistent in the core kernel KRS tree, to files on disk. These files are read
when the system is booted, in order to restore the aforementioned persistent data.
When running in daemon mode, krsd sleeps, waking periodically to check if any persistent data have
changed since the last save. If persistent data have changed, the new state of the data is saved to disk.
Otherwise, krsd sleeps for another period of time and then repeats the process.
When running in one time (non-daemon) mode,
krsd unconditionally saves persistent data to disk and
then exits.
Normally,
krsd is executed in daemon mode by init(1M). The /etc/inittab entry for krsd will
cause
krsd to be respawned automatically if it is terminated.
krsd uses the syslog message logging facility to log all krsd activity.
Persistent KRS data are maintained in files based on the class of the data in question. Currently, the fol-
lowing classes are recognized:
system specific
Data that apply to the system in general, regardless of what configuration is booted. This data is
saved in the file system.krs .
configuration specific
Data specific to a given bootable configuration. This data is saved in the file
config.krs .
krsd only saves the system specific class; the configuration specific
class is managed by
the kernel configuration tools (see kconfig(5)).
Options
krsd recognizes the following options:
-1 One time mode, unconditionally save persistent data to disk, then exit.
-i Run from inittab, parent does not spawn a child nor exit. Required if respawn
from
inittab is to work properly.
-d seconds Set the delay time to seconds seconds. This is the time interval between attempted saves of
persistent data. The default interval is 300 seconds.
AUTHOR
krsd was developed by Hewlett-Packard Company.
SEE ALSO
krs_flush(1M), kconfig(5), krs(5).
408 Hewlett-Packard Company − 1 − HP-UX 11i Version 3: February 2007