upsdrvctl provides a uniform interface for controlling your UPS drivers. The intention is for users to always use upsdrvctl for starting and stopping them rather than hard-coding driver calls into their startup scripts.
Display the help message.
Enable testing mode. This also enables verbose mode. Testing mode makes upsdrvctl display the actions it would execute without actually doing them. Use this to test out your configuration without actually doing anything to your UPS drivers. This may be helpful when defining the 'sdorder' directive in your ups.conf(5).
upsdrvctl supports three commands - start, stop, and status. They take an optional argument which is a UPS name from ups.conf(5). Without that argument, they operate on every UPS that is currently configured.
Start the UPS driver(s).
Stop the UPS driver(s).
value - see ups.conf(5).
Check the status of the UPS driver(s).
Old drivers can't be controlled with upsdrvctl. While many popular drivers have been converted, there are still a number that have not. If your hardware uses an older driver, you must call it directly.
You can find out if your driver is new or old by starting it with -h to see the help text. If it mentions '-a' to autoconfigure, then you have a new driver. Otherwise, it's old.
The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/