HP Systems Insight Manager 5.3 Command Line Interface reference guide

task information was modified, the task type, and any tool user parameters (in XML format) that might
be associated with the specified tool.
mxtask -lf taskname [-b encoding ]
mxtask -lf all [-b encoding ]
This command lists the specified task in task-specific XML format. Output from this command is written
to stdout, and can be redirected (with >) to an external file. The output file can be modified and used
as the XML input file when creating a new task with -cf. Using the
all
keyword forces mxtask to list
all tasks in XML format. See the mxtask(4) manpage for a detailed description of the task-specific
XML format.
Optionally, you can specify the character encoding of the XML file. The value for the character encoding
must match a valid character encoding. If no encoding is specified, the system attempts to write the file
in the encoding currently defined on the system. See http://www.iana.org/assignments/character-sets
for the list of valid character sets.
mxtask -r taskname
This command allows you to remove the specified task. The task is removed immediately. You must
specify the name of an existing task, and you must be authorized to remove the task.
mxtask -e taskname
This command allows you to run the specified task. The task will execute immediately. You must specify
the name of an existing task, and you must be authorized to execute the task against the managed
systems that the associated query is targeted for (see mxauth(1M)).
mxtask -o taskname taskowner
This command allows you to change ownership for the specified task. You must specify the name of
an existing task and the desired new owner, and you must be authorized to change task ownership
(see mxauth(1M)).
mxtask -c taskname -q queryname -t toolname -w schedule [-A toolparms| -f
toolparmsfile [-o taskowner] [-i timefiltername] ] [-o taskowner ] [-i
timefiltername ]
This command allows you to create a new task from information provided on the command line.
mxtask -cf taskxmlfile
This command allows you to create a new task from information provided in an external task-specific
XML definition file. You must be a full configuration rights user to run this command. See the mxtask(4)
manpage for a description of the task-specific XML format.
mxtask -rf taskxmlfile
This command allows you to remove the specified task(s). The information regarding the task(s) is
provided by an external task specific XML definition file. You must be an authorized user to remove a
task. See the mxtask(4) manpage for a description of the task-specific XML format
mxtask -h
This command displays extended help for mxtask.
Options
-lt
Display a tabular listing of all registered tasks with their associated attributes.
-ld taskname
Display a detailed attribute listing for a single specified task.
-lf taskname
mxtask 83