HP Systems Insight Manager 7.1 Command Line Interface Guide

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 enables 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 enables 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 enables 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 enables you to create a new task from information provided on the command
line.
mxtask -cf taskxmlfile
This command enables you to create a new task from information provided in an external
task-specific XML definition file. You must be an administrative 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 enables 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.
mxtask -x taskname <true|false>
This command sets the criticality of the task. The expected value for criticality is either ‘true
or ‘false. The tasks which are set as critical will be allowed to complete when the system is
quiesced. The tasks which are not critical will be stopped in between when the system is
quiesced.
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.
106 Command descriptions