PLMS debug utility (plmsctrl)

The plmsctrl utility queries plms for component statuses and can be used to start and stop components. It isn't intended for production use.

The interface with plms is controlled by kernel abilities or by secpol. For ease of use, if UID is root, then plmsctrl tries to get the plms/control ability unless the –a argument is used.

Commands

The following commands are supported. Execute use plmsctrl to get a complete list of commands:

# Disables request for plms abilities if "root" user
plmsctrl -a

plmsctrl <-a> <-t plms name> start <component/module name>

plmsctrl <-a> <-t plms name> stop <component/module name>

plmsctrl <-a> <-t plms name> restart <component name>

plmsctrl <-a> <-t plms name> none <component name>

plmsctrl <-a> <-t plms name> listall

plmsctrl <-a> <-t plms name> status <component name>

plmsctrl <-a> <-t plms name> isdegraded <component name>

plmsctrl <-a> <-t plms name> wdog_ctrl <on|off>
# on: disable wdog for all PLMS
# off: enable wdog for all PLMS

plmsctrl <-a> <-t plms name> dag <file name>

plmsctrl <-a> <-t plms name> shutdown

plmsctrl <-a> <-t plms name> fastshutdown

plmsctrl <-a> <-t plms name> verbosity <value>

plmsctrl <-a> <-t plms name> load <file name>

If plms name is not specified, then the default PLMS is used.

Page updated: