HP Systems Insight Manager 6.3 Command Line Interface Guide

If the OS on the target system does not support the language setting or encoding selected by the
CMS, the command shell on the target system will use the default language and encoding for that
target's OS.
See lang (5), environ (5), and local (1) for additional information.
Return values
MeaningValue
Successful completion.0
Command line syntax error.2
Invalid name.21
Systems Insight Manager repository error.102
The CMS is not initialized.222
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.
mxtask 109