drd-runcmd.1m (2011 03)
d
drd-runcmd(1M) drd-runcmd(1M)
NAME
drd runcmd - run a command on the inactive system image that will not make any changes to the booted
system, the kernel, or the process space.
SYNOPSIS
drd runcmd
[-?][-q][-v][-x option=
value][-x -?][-X
option_file] cmd <args>
DESCRIPTION
The
drd runcmd
mode runs a command on the inactive system image that will not make any changes to
the booted system, the kernel, or the process space.
The
drd runcmd
command enables an administrator to make changes to the inactive system image
without incurring any disruption to the currently booted system. This means that not all commands can
safely be executed by the
drd runcmd
operation. For example, commands that start or stop daemons or
change dynamic kernel tunables are disruptive to current processes and must be prevented by the
drd runcmd
operation.
Commands which are not disruptive to the booted system and which perform appropriate actions on the
inactive system are known as DRD-Safe. A short list of commands is recognized by the
drd runcmd
operation to be DRD-Safe. An attempt to use DRD to run commands that are not DRD-Safe will ter-
minate with an ERROR return code without executing the command. The DRD-Safe commands are listed
below under the cmd parameter.
Options
drd runcmd recognizes the following options:
-? Displays the usage message.
-q Decreases the verbosity level by one each time it is specified. For example,
-qq will reduce the
verbosity from the default value of 4 to 2. If both
-x verbosity=5 and -qqq
are included on
the command line, the effective verbosity is 2. The minimum verbosity level is 0. (See also the
-x verbosity option).
-v Increases the verbosity level by one each time it is specified. For example,
-v will increase the
effective verbosity from the default value of 4 to 5. If both
-x verbosity=1 and
-vv are
included on the command line, the effective verbosity is 3. The maximum verbosity level is 5.
(See also the
-x verbosity option).
-x -? Displays the list of possible -x (extended) options.
-x option=value
Sets the extended option to a value. See Extended -x Options definitions below.
-X option_file
Gets the extended options from a file.
cmd <args>
Specifies the DRD-Safe command to be run. The value of cmd must be one of the following
HP-UX 11i Version 3: Mar 2011 − 1 − Hewlett-Packard Company 1