sys-suspend(1M)
NAME
sys-suspend − Suspend the system and power off
SYNOPSIS
/usr/openwin/bin/sys-suspend [ ]
AVAILABILITY
SUNWpmowu
DESCRIPTION
sys-suspend(1M) suspends and powers off the whole system. A system may be suspended to conserve power or to prepare the system for transport. It should not be used in place of a shutdown when performing any hardware reconfiguration or replacement.
The current system state will be preserved until a resume operation is performed (the next power on).
On a resume in the windows environment, the system brings up lockscreen to ensure that only the authorized person has access to the system. In a non-windows environment, the user will be prompted for password.
It is possible that when devices or processes are performing critical or time sensitive operations (such as real time operations) the system may fail to suspend. When this occurs, the system will remain in its current running state. Messages reporting the failure will be displayed on the console. Once the system is successfully suspended, the resume operation will always succeed barring external influences such as hardware reconfiguration or the like.
OPTIONS
−f Force suspend. This should be used with care. Using this option causes the system to force all processes to stop. This option should not be used during unattended operations.
−n Disable confirmation. This flag disables the confirmation popup dialog at suspend time.
−x Disable lockscreen. This flag disables the execution of lockscreen at resume time.
FILES
/etc/default/sys-suspend
file for setting a default value for the PERMS variable. PERMS determines who are allowed to use this command. Allowed values are:
all any user can use this command
- nobody except super-user can use this command
<user1, user2, etc.> a user in this user list or super-user can use this command
console-owner a user who owns the system console device node or super-user can user this command (default)
NOTES
Lockscreen on resume can be disabled by default. The following line needs to be added to the user’s .Xdefaults or .OWdefaults file:
Syssuspend∗xlock:False
If xlock(1) is used for lockscreen functionality, its mode defaults to life. This can be changed by adding the following line to the user’s .Xdefaults or .OWdefaults file:
Syssuspend∗xlockmode:<xlockmode>
SEE ALSO
SunOS 5.6 — Last change: 30 Oct 1996