cpuplugd command-line syntax

Ubuntu 22.04 LTS LPAR mode z/VM guest KVM guest

You can start cpuplugd through a command interface.

Before you begin: Do not run multiple instances of cpuplugd simultaneously. Check the cpuplugd status through the service utility before you issue the cpuplugd command.

cpuplugd syntax

Read syntax diagramSkip visual syntax diagram cpuplugd  -f -V -c  <config file>
Where:
-c <config file> or --config <config file>
specifies the path to the configuration file with the rule (see Configuration file structure). You can find a sample configuration file at /etc/cpuplugd.conf.
-f or --foreground
runs cpuplugd in the foreground and not as a daemon. If this option is omitted, cpuplugd runs as a daemon in the background.
-V or --verbose
displays verbose messages to stdout when cpuplugd is running in the foreground or to syslog when cpuplugd is running as a daemon in the background. This option can be useful for debugging.
-h or --help
displays help information for the command. To view the command man page, enter man cpuplugd. To view the man page for the configuration file, enter man cpuplugd.conf.
-v or --version
displays version information for cpuplugd.

Examples

  • To start cpuplugd in daemon mode with a configuration file /etc/cpuplugd.conf:
    # cpuplugd -c /etc/cpuplugd.conf
  • To run cpuplugd in the foreground with verbose messages and with a configuration file /etc/cpuplugd.conf:
    # cpuplugd -V -f -c /etc/cpuplugd.conf