POWERCMD function | [-c class[,class]...] [-n node[,node]...] [-p property[,property]...] | ||
command |
Every command must reference the spec_id of a
SPECFORMAT directive (see section 5.15) by
including `SPEC:spec_id' in the appropriate place in the
command sequence. The `SPEC:spec_id' text gets replaced with
a hostname, or a range, etc., as defined in the SPECFORMAT corresponding
to spec_id.
A simple hostname format may work in most cases, but may not operate as fast as one of the range formats. When using the hostname or ipaddr specformats, command is interpolated to replace any instance of `$NODE' or `$IP' with the hostname or IP address of the node being operated on, respectively.