HP Systems Insight Manager 5.3 Command Line Interface reference guide

Display an XML file listing for a specified task. This output can be redirected (>) to a file
and used as input to the -f option when creating a new task. For example, -lf taskname
>filename.
-lf all
Display an xml format list of all HP SIM tasks. This output can be redirected to a file and
used as input to -f when creating a new task.
-r taskname
Remove a specified task immediately.
-rf taskxmlfile
Indicates that the specified Systems Insight Manager task(s) is to be removed. All required
task configuration information must be specified via an external file containing task specific
data in predefined xml format. See the mxtask(4) man page for a detailed description of
the task specific xml format.
-e taskname
Run a specified task immediately.
-o taskname taskowner
Assign a specified task to a new owner.
-c taskname
Create a new task. All required task configuration information must be specified on the
command line following this option. Additional required options are: -q, -t, -w, (-A|-f).
-cf taskxmlfile
Create a new task. All required task configuration information must be specified in an
external file containing task-specific data in the predefined XML format. See the mxtask(4)
manpage for a detailed description of the required XML format.
-h
Display extended help for mxtask.
-q queryname
Specify the name of an existing query.
-w scheduleinfo
Specify task schedule data. scheduleinfo is a parameterized string that defines the
schedule data. See the schedule parameterized string format section for details about the
format for this string.
-t toolname
Specify the name of an existing tool. -A
toolparms
or -f
toolparmsfile
is required if the
specified tool requires additional user parameters.
-A toolparms
Specify the parameter data for a tool that requires user parameters. The tool parameter
string provided on the command line must be enclosed in double quotation marks. If the
tool parameter data includes XML data with embedded double quote characters, each
double quote character must be preceded by the backslash character. This option is used
with -c.
-f toolparmsfile
Specify the parameter data for a tool that requires user parameters. The tool parameters
for -f are provided in a specified XML file that contains the tool parameters. This option is
used with -c. (Create task)or –r (remove task).
84 Command descriptions