cpuplugd command-line syntax
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
Where:
- -c <config file> or --config <config file>
- specifies the path to the configuration file with the rules (see Configuration file structure).
After you install cpuplugd for the first time, you can find a sample configuration file at /etc/cpuplugd.conf. If you are upgrading from a prior version of cpuplugd, see Migrating old configuration files.
- -f or --foreground
- runs in foreground.
- -V or --verbose
- displays verbose messages.
- -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.
Examples
- To start cpuplugd in daemon mode with a configuration file /etc/cpuplugd.conf:
# cpuplugd -c /etc/cpuplugd
- To run cpuplugd in the foreground with verbose messages and with a configuration file /etc/cpuplugd.conf:
# cpuplugd -V -f -c /etc/cpuplugd