List details for specified vcem job, Show cli usage online help – HP Insight Management-Software User Manual
Page 98
List details for specified VCEM job
This CLI command can be used to list the details and status for a particular VCEM job and can be
used to determine the status of a CLI failover job.
>vcem –list –details –job JobNumber
If the CLI List Job Details command is successful, the exit code from the CLI is zero, and the
following example output appears (through stdout) on the screen.
>vcem –list –details –job 1
Listing details for specified VCEM Job...
Job Number: 1
Job Type: MDM
Job State: COMPLETED
Job Progress: % Complete, Time, Possible Error Msg, Possible Detailed Error Msg
Job Priority: 5
Job User Name: “MachineUserNameHere”
Job Create Time: 1:58:34 PM
Job Start Time: 1:58:34 PM
Job End Time: 1:58:42 PM
In the preceding example, the job state shows as completed. Valid values for this job state are:
•
Unknown
•
Pending
•
Running
•
Completed
•
Failed
•
Canceled
If the CLI List Job Details command has failed, the exit code is some value greater than
zero and the associated error message appears. The following shows some output examples.
Listing details for specified VCEM Job...
ERROR (63) - Specified VCEM Job Number is not an integer
Listing details for specified VCEM Job...
ERROR (64) - Could not list details for job
Internal VCEM Error Code: 5014
Internal VCEM Error Message: No Job is found. Verify that the specified Job ID must be bigger than 0 and valid.
Show CLI usage online help
This CLI command can be used to display brief usage help on the screen.
>vcem -help
98
Command Line Interface usage in VCEM