samdctl(1M)


samdctl -- control the SAM daemon

Synopsis

samdctl stop | restart | status
samdctl -h

Description

The samdctl command stops and restarts the samd(1M) daemon. It also verifies that the daemon is running on the system and registered with keepalive(1M). This command requires root permission and is normally used to verify the status of the daemon. init(1M) and keepalive(1M) restart samd using scripts that invoke samdctl.

If this command is used to stop samd manually, samd is restarted at the next system reboot. Except under extraordinary circumstances, you should not stop samd because events could be missed or recorded incorrectly at system reboot.

Options

stop
Causes the keepalive system to stop samd and stop monitoring it.
restart
Causes the keepalive system to restart samd and begin monitoring it.
status
Displays messages verifying that samd is running on the cluster and is monitored by keepalive.
-h
Displays help information.

Files

/etc/rc2.d/S12samdctl
Initialization script that starts samd when the system boots
/var/avail/sam/.state
SAM private state file directory for lock and state files

Examples

The following command displays the status of samd:

samdctl status

The following command restarts samd:

samdctl restart

References

intro_sam(1M), samd(1M), samlog(1M), samrep(1M),

NonStop Clusters for SCO UnixWare 7 Administrator's Guide


03 Feb 2000
© 2000 The Santa Cruz Operation, Inc reserved.
UnixWare 7 Release 7.1.1b - 14 April 2000
© 2000 Compaq Computer Corporation.