A Summary of Commands

iCk, iCkAdmin

$autoReboot {off/on} {u-reboots} {ubPeriod} {runlevels} {setPeriod}

This activity controls the feature that automatically sets the UNIX kernel autoreboot flag. If the entry is marked “off,” then the autoreboot flag is not automatically turned on. It can still be manually set with an iCk command. If the entry is marked “on,” then the automatic setting is enabled. The remaining parameters control when the flag is set. The algorithm that controls the setting of the flag is as follows:

~The number of unanticipated reboots of the kernel is determined by examining the /etc/wtmp file (the history file of init actions) for “change of run level” entries and “boot time” entries. Any entry falling within the {ubPeriod} of time prior to the most recent system boot time are considered. If a “boot time” entry is preceded by a “change of run level” to levels 0, 5, or 6, the boot is considered anticipated, since someone deliberately entered the command to reboot the system. If a “boot time” entry is not preceded by such a “change of run level” entry, then the reboot is considered unanticipated. This includes power failures, reset button pushes, and panics of the UNIX kernel.

~If the number of unanticipated reboots is less than {u-reboots}, the autoreboot flag is set {setPeriod} to an amount of time after the system comes up to one of the run levels specified by {runlevels}.

~If the number of unanticipated reboots is greater than or equal to {u- reboots}, setting of the autoreboot flag is inhibited and is not set until the system has been up at one of the run levels specified by {runlevels} for a {ubPeriod} of time.

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 486