upsdrvctl(8)

NAME

   upsdrvctl - UPS driver controller

SYNOPSIS

   upsdrvctl -h

   upsdrvctl [OPTIONS] {start | stop | shutdown} [ups]

DESCRIPTION

   upsdrvctl provides a uniform interface for controlling your UPS
   drivers. You should use upsdrvctl instead of direct calls to the
   drivers whenever possible.

   When used properly, upsdrvctl lets you maintain identical startup
   scripts across multiple systems with different UPS configurations.

OPTIONS

   -h
       Display the help text.

   -r directory
       If starting a driver, this value will direct it to chroot(2) into
       directory. This can be useful when securing systems.

   This may be set in the ups.conf with "chroot" in the global section.

   -t
       Enable testing mode. This also enables debug 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).

   -u username
       If starting a driver, this value will direct it to setuid(2) to the
       user id associated with username.

   If the driver is started as root without specifying this value, it will
   use the username that was compiled into the binary. This defaults to
   "nobody", and is far from ideal.

   This may be set in ups.conf with "user" in the global section.

   -D
       Raise the debug level. Use this multiple times for additional
       details.

COMMANDS

   upsdrvctl supports three commands - start, stop and shutdown. 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
       Start the UPS driver(s). In case of failure, further attempts may
       be executed by using the maxretry and retrydelay options - see
       ups.conf(5).

   stop
       Stop the UPS driver(s).

   shutdown
       Command the UPS driver(s) to run their shutdown sequence. Drivers
       are stopped according to their sdorder value - see ups.conf(5).

       Warning
       this will probably power off your computers, so don't play around
       with this option. Only use it when your systems are prepared to
       lose power.

ENVIRONMENT VARIABLES

   NUT_CONFPATH is the path name of the directory that contains upsd.conf
   and other configuration files. If this variable is not set, upsdrvctl
   the driver use a built-in default, which is often /usr/local/ups/etc.

DIAGNOSTICS

   upsdrvctl will return a nonzero exit code if it encounters an error
   while performing the desired operation. This will also happen if a
   driver takes longer than the maxstartdelay period to enter the
   background.

SEE ALSO

   nutupsdrv(8), upsd(8), ups.conf(5)

   Internet resources:
   The NUT (Network UPS Tools) home page: http://www.networkupstools.org/



Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.


Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.


Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.