EnglishFrenchSpanish

OnWorks favicon

pm - Online in the Cloud

Run pm in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


powerman - power on/off nodes

SYNOPSIS


pm [-options] -action [targets] [-action [targets] ...]

DESCRIPTION


powerman provides power management in a data center or compute cluster environment. It
performs operations such as power on, power off, and power cycle via remote power
controller (RPC) devices. Target hostnames are mapped to plugs on RPC devices in
powerman.conf(5).

OPTIONS


-1, --on targets
Power ON targets.

-0, --off targets
Power OFF targets.

-c, --cycle targets
Power cycle targets.

-r, --reset targets
Assert hardware reset for targets (if implemented by RPC).

-f, --flash targets
Turn beacon ON for targets (if implemented by RPC).

-u, --unflash targets
Turn beacon OFF for targets (if implemented by RPC).

-l, --list
List available targets. If possible, output will be compressed into a host range
(see TARGET SPECIFICATION below).

-q, --query-all
Query plug status of all targets. Status is not cached; each time this option is
used, powermand queries the appropriate RPC's. Targets connected to RPC's that
could not be contacted (e.g. due to network failure) are reported as status
"unknown". If possible, output will be compressed into host ranges.

-Q, --query targets
Query plug status of specific targets.

-n, --soft-all
Query soft power status of all targets (if implemented by RPC). In this context, a
node in the OFF state could be ON at the plug but operating in standby power mode.

-N, --soft targets
Query soft power status of specific targets (if implemented by RPC).

-b, --beacon-all
Query beacon status of all targets (if implemented by RPC).

-B, --beacon targets
Query beacon status of specific targets (if implemented by RPC).

-t, --temp-all
Query node temperature of all targets (if implemented by RPC). Temperature
information is not interpreted by powerman and is reported as received from the RPC
on one line per target, prefixed by target name.

-P, --temp targets
Query node temperature of specific targets (if implemented by RPC).

-h, --help
Display option summary.

-L, --license
Show powerman license information.

-h, --server-host host[:port]
Connect to a powerman daemon on non-default host and optionally port.

-V, --version
Display the powerman version number and exit.

-D, --device
Displays RPC status information. If targets are specified, only RPC's matching the
target list are displayed.

-T, --telemetry
Causes RPC telemetry information to be displayed as commands are processed. Useful
for debugging device scripts.

-x, --exprange
Expand host ranges in query responses.

-g, --genders
If configured with the genders(3) package, this option tells powerman that targets
are genders attributes that map to node names rather than the node names
themselves.

TARGET SPECIFICATION


powerman target hostnames may be specified as comma separated or space separated hostnames
or host ranges. Host ranges are of the general form: prefix[n-m,l-k,...], where n < m and
l < k, etc., This form should not be confused with regular expression character classes
(also denoted by ``[]''). For example, foo[19] does not represent foo1 or foo9, but rather
represents a degenerate range: foo19.

This range syntax is meant only as a convenience on clusters with a prefixNN naming
convention and specification of ranges should not be considered necessary -- the list
foo1,foo9 could be specified as such, or by the range foo[1,9].

Some examples of powerman targets follows:

Power on hosts bar,baz,foo01,foo02,...,foo05
powerman --on bar baz foo[01-05]

Power on hosts bar,foo7,foo9,foo10
powerman --on bar,foo[7,9-10]

Power on foo0,foo4,foo5
powerman --on foo[0,4-5]

As a reminder to the reader, some shells will interpret brackets ([ and ]) for pattern
matching. Depending on your shell, it may be necessary to enclose ranged lists within
quotes. For example, in tcsh, the last example above should be executed as:
powerman --on "foo[0,4-5]"

Use pm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 2
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 3
    SCons
    SCons
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • 4
    PSeInt
    PSeInt
    PSeInt is a pseudo-code interpreter for
    spanish-speaking programming students.
    Its main purpose is to be a tool for
    learning and understanding the basic
    concep...
    Download PSeInt
  • 5
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 6
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • More »

Linux commands

  • 1
    aafigure
    aafigure
    aafigure - convert ASCII art to an
    image ...
    Run aafigure
  • 2
    aafire
    aafire
    aafire, aainfo, aasavefont, aatest -
    aalib example programs ...
    Run aafire
  • 3
    coqtop.opt
    coqtop.opt
    coqtop.opt - The native-code Coq
    toplevel ...
    Run coqtop.opt
  • 4
    coqwc
    coqwc
    coqwc - print the number of
    specification, proof and comment lines
    in Coq files ...
    Run coqwc
  • 5
    g15composer
    g15composer
    g15composer - Scriptable command
    interface to libg15render(3) drawing
    functions DESCRIPTION: G15composer is a
    scriptable command interface to the
    libg15render ...
    Run g15composer
  • 6
    g15daemon
    g15daemon
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • More »

Ad