HP Systems Insight Manager 7.2 Command Line Interface Guide

See also
HP-UX
mxstart(1M)
Linux
mxstart(8)
mxtask
Lists, executes, removes, creates tasks, or changes task ownership in HP SIM.
Synopsis
mxtask
mxtask -lt
mxtask -ld taskname
mxtask -lf taskname [-b encoding ]
mxtask -lf all [-b encoding ]
mxtask -r taskname
mxtask -e taskname
mxtask -o taskname taskowner
mxtask -c taskname -q queryname -t toolname -w schedule [-A toolparms| -f
toolparmsfile ] [-o taskowner ] [-i timefiltername ]
mxtask -cf taskxmlfile
mxtask -h
mxtask -rf taskxmlfile
mxtask -x taskname <true|false>
Description
The mxtask command enables you to list all tasks, list details for a particular task, list task
parameters in XML format, execute a task, remove a task, change ownership for a task, and create
a task from the command line or an XML file.
mxtask
mxtask -lt
These commands provide a tabular listing showing the major attributes of all tasks currently
registered in the database. The displayed information includes the task name, associated
query name, associated tool name, and task type with associated schedule data.
mxtask -ld taskname
This command lists the details for a specified task. The displayed information includes the task
name, tool name, query name, task owner, last time the task was run, the next time task will
run, the last time 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
mxtask 105