logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

httppower - communicate with HTTP based power distribution units

Description

httppower  is  a  helper  program  for  powerman  which  enables  it to communicate with HTTP based power
       distribution units.  It is run interactively by the powerman daemon.

Files

       /usr/sbin/httppower
       /etc/powerman/powerman.conf

Interactive Commands

       The following commands are accepted at the httppower> prompt:

       authuser:pass
              Authenticate to the base URL with specified user and password, using ``basic'' HTTP authentication
              which sends the user and password over the network in plain text.

       seturlURL
              Set the base URL.  Overrides the command line option.

       setheader[stringdata]
              Set extra HEADER to use.  Do not specify data to clear.  Overrides the command line option.

       cookies<enable|disable>
              Enable or disable use of cookies.  Overrides the command line option.

       get[URL-suffix]
              Send an HTTP GET to the base URL with the optional URL-suffix appended.

       post[URL-suffix]<stringdata>
              Send an HTTP POST to the base URL with the  optional  URL-suffix  appended,  and  string  data  as
              argument.   Typically, the data is key=value pairs (multiple of which can be concatenated with the
              &-symbol), but there can be exceptions.

       put[URL-suffix]<stringdata>
              Send an HTTP PUT to the base URL with  the  optional  URL-suffix  appended,  and  string  data  as
              argument.

Name

       httppower - communicate with HTTP based power distribution units

Options

-u,--urlURL
              Set the base URL.

       -H,--headerstring
              Set extra HEADER to use.

       -c,--cookies
              Enable cookies in session.

       -v,--verbose
              Increase output verbosity.

Origin

       PowerMan  was  originally  developed  by  Andrew Uselton on LLNL's Linux clusters.  This software is open
       source and distributed under the terms of the GNU GPL.

See Also

powerman(1), powermand(8), httppower(8), plmpower(8), vpcd(8), powerman.conf(5), powerman.dev(5).

       http://github.com/chaos/powerman

powerman-2.4.4                                   1 December 2008                                    httppower(8)

Synopsis

httppower[--urlURL][--headerstring][--cookies][--verbose]

See Also