vpcd(8)

πŸ“¦
version 2.3.27 Β· 2 versions
, in debian bookworm, ubuntu noble

🌸 vpcd β€” the virtual power control daemon πŸ’…

okay bestie, welcome to vpcd, section 8 of your System Manager's Manual. yes, it's a real one, from the powerman fam, and it's honestly giving "test program that ate and left no crumbs." let's get into it 🫢


✨ NAME ✨

vpcd β€” virtual power control daemon. that's it, that's the name, no notes πŸ’–


✨ SYNOPSIS ✨

vpcd [--port PORT]

✨ DESCRIPTION ✨

so vpcd is a test program for PowerMan β€” its whole job is to emulate a remote power control device. basically it cosplays as the hardware so you don't have to touch real hardware. icon behaviour, fr fr πŸ”₯

it can be run interactively by the powerman daemon, or it can listen on a port of your choosing. two paths, one slay ✨


✨ OPTIONS ✨

  • -p, --port PORT β€” tells vpcd to listen for connections on the port you picked instead of using stdin/stdout. heads up tho: only one connection will be accepted. one (1) bestie at a time, no cap πŸ™ˆ

✨ INTERACTIVE COMMANDS ✨

these are the commands you get at the vpcd> prompt. the vibes are immaculate, the syntax is simple πŸ’…

  • login β€” you literally have to run this first or none of the other commands will work. it's the vibe check before the party. no username, no password, nothing required β€” it's giving trust falls πŸŽ€
  • logoff β€” sends vpcd back to its initial state. reset era, we love a clean slate πŸ¦‹
  • stat PLUG|* β€” shows the power status of PLUG. if PLUG is `*`, it does this action on all the plugs. all of them. the whole roster πŸ‘‘
  • beacon PLUG|* β€” shows the beacon status of PLUG. if PLUG is `*`, it does this action on all plugs ✨
  • temp PLUG|* β€” shows the temperature of the node attached to PLUG. if PLUG is `*`, it does this action on all plugs 🌑️
  • spew COUNT β€” prints COUNT 80-char lines. this is the basis of a buffer handling test. it's giving spam folder energy and honestly? that's the point πŸ’€
  • on PLUG|* β€” turns PLUG on. if PLUG is `*`, it does this action on all plugs πŸ”₯
  • off PLUG|* β€” turns PLUG off. if PLUG is `*`, it does this action on all plugs πŸŒ™
  • flash PLUG|* β€” lights the beacon on PLUG. if PLUG is `*`, it does this action on all plugs ✨
  • unflash PLUG|* β€” unlights the beacon on PLUG. if PLUG is `*`, it does this action on all plugs 🚫
  • reset PLUG|* β€” resets the node attached to PLUG. if PLUG is `*`, it does this action on all plugs πŸ”„
ngl the `*` wildcard is the main character here. type it and suddenly every plug is getting the same treatment. very "we're all in this together" of it 🫢

✨ FILES ✨

  • /usr/sbin/vpcd β€” that's where it lives. that's the address. don't lose it πŸ“

✨ 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. we love a legend with receipts πŸ‘‘πŸ’–


✨ SEE ALSO ✨

and if you wanna go touch grass on the internet: http://github.com/chaos/powerman 🌈


okay so this page is from powerman-2.3.27, dated 13 January 2012 β€” yes bestie, a vintage. stay slay, stay powered, and remember: login first or nothing works πŸ’…βœ¨

πŸ“¦ where this page comes from