HP Systems Insight Manager 7.2 Command Line Interface Guide

MeaningValue
Unable to connect to the session manager.249
Remote exception.250
Examples
Example 1
To list all scheduled tasks in tabular format, including the task name, associated tool name, last
run time and schedule information, enter mxtask.
Example 2
To list all scheduled tasks in tabular format, including the task name, associated tool name, last
run time and schedule information, enter mxtask -lt.
Example 3
To list the details for the task test_task, enter mxtask -ld test_task.
Example 4
To list descriptive data for the task test_task in XML format, enter mxtask -lf test_task.
Output from this command can be used to create a new task requiring the same tool, with similar
tool (user) parameters. The output can be redirected to an external file, which could be edited and
used as an input file to create a new task with the -cf command. See the mxtask(4) manpage
for a detailed description of the task-specific XML format.
Example 5
To remove the existing task test_task, enter mxtask -r test_task.
Example 6
To run the existing task test_task, enter mxtask -e test_task.
Example 7
To change ownership for the existing task test_task to comp/test_user, enter mxtask -o
test_task comp/test_user. The specified task owner must have the format
MachineName/User.
Example 8
To create a task named task1 with the associated query query1 and tool toolexample that already
exists in the database, with the task type add, enter mxtask -c task1 -q query1 -t
toolexample -w Tadd.
In this example, there are no tool (user) parameters required for the tool being specified, so -A
and -f are not required.
Example 9
To create a task named task1 with the associated query query1 and tool toolexample that already
exists in the database, with the task type remove, enter mxtask -c task1 -q query1 -t
toolexample -w Tremove.
In this example, there are no tool (user) parameters required for the tool being specified, so -A
and -f are not required.
110 Command descriptions