httppower(8)
β¨ httppower(8) β bestie edition β¨
okay so this is httppower, from the System Manager's Manual. she's an 8th-section admin page, she's been here since 1 December 2008, and she is lowkey the reason your rack power strips do what you tell them. sit down, grab a strawberry π, we're doing this.
π NAME π
httppower β talk to HTTP-based power distribution units. that's it, that's the whole job. π
π SYNOPSIS π
httppower [--url URL] [--header string] [--cookies] [--verbose]
πΈ DESCRIPTION πΈ
so httppower is a little helper program for powerman β it's the wingman that lets powerman actually communicate with HTTP based power distribution units. π«Ά
and the way it runs is so specific: it's run interactively by the powerman daemon. like, the daemon literally launches it and talks to it at a prompt. it's giving pen pal energy, but the pen pal controls your electricity. π₯
β¨ OPTIONS β¨
-u,--urlURL β set the base URL. that's the whole thing, bestie, she's the address everything else hangs off of.-H,--headerstring β set extra HEADER to use. yes, extra. sprinkle it on. π§-c,--cookiesβ enable cookies in session. not the edible kind unfortunately π but she'll keep that session state for you.-v,--verboseβ increase output verbosity. turn it up, we want the tea. β
π¦ INTERACTIVE COMMANDS π¦
these are the commands you can type at the httppower> prompt. yes, that's the actual prompt. iconic.
authuser:pass β authenticate to the base URL with the specified user and password, using ``basic'' HTTP authentication.
β οΈ okay real talk for a sec: basic HTTP auth sends the user and password over the network in plain text. not hashed, not encrypted, just vibes and your password, out in the open. do with that information what you will. π
seturlURL β set the base URL. and she overrides the command line option. the prompt wins, always.setheader[string data] β set extra HEADER to use. do not specify data if you want to clear it. also overrides the command line option. she's not asking, she's telling. β¨cookies<enable|disable> β enable or disable use of cookies. yep, overrides the command line option too. (pattern spotted? the interactive prompt is the main character here π)get[URL-suffix] β send an HTTP GET to the base URL, with the optional URL-suffix appended. simple. clean. slay.post[URL-suffix] <string data> β send an HTTP POST to the base URL with the optional URL-suffix appended, and string data as the argument. typically the data iskey=valuepairs β and you can concatenate multiple of those with the&symbol β but there can be exceptions, so don't come for me. πput[URL-suffix] <string data> β send an HTTP PUT to the base URL with the optional URL-suffix appended, and string data as the argument.
π FILES π
/usr/sbin/httppower/etc/powerman/powerman.conf
π 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 β
http://github.com/chaos/powerman
and that's the page!! this whole thing is from powerman-2.4.4, dated 1 December 2008 β yes bestie, she's vintage, and she still ate. πβ¨π«Ά
mwah, go power cycle something responsibly π
π¦ where this page comes from
- debian trixie: powerman 2.4.4-4
- epel 10: powerman 2.4.4-1.el10_2 Β· GPLv2+
- epel 9: powerman 2.4.4-1.el9 Β· GPLv2+
- opensuse-leap 16.0: powerman 2.4.4-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: powerman 2.4.4-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: powerman 2.4.4-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: powerman 2.4.4-160000.2.2 Β· GPL-2.0-or-later
- ubuntu questing: powerman 2.4.4-5
- ubuntu resolute: powerman 2.4.4-5build1
- ubuntu stonking: powerman 2.4.4-5ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms