Log in to the N1 System Manager.
See To Access the N1 System Manager Command Line for details.
Stop a specific job.
N1-ok> stop job job |
The job is stopped.
See stop job in Sun N1 System Manager 1.3 Command Line Reference Manual for details.
View the job details.
N1-ok> show job job |
The Result section of the output shows that the job was stopped.
Any job can be stopped. In practice, however, only a job that is not in its last step can be stopped. Some jobs only have one step and so can never be stopped. Jobs in a notstarted state cannot be stopped. Operations that are performed on large groups of servers can take longer and might include a large number of steps.
See show job in Sun N1 System Manager 1.3 Command Line Reference Manual for details.
This example shows that using the stop job command with the Job ID returns a message confirmed that the request has been received.
N1-ok> stop job 32 Stop Job "32" request received. |
This example also shows that the show job command can be used with the Job ID of the job that was stopped to gain more data about the job that was stopped. The command returns the confirmation, in Status, that the job was stopped, and the command that was used to create the job. Further details are provided for each step of that job, including the time at which the step started and completed and whether the step was successful. The Result section shows that the job was stopped.
N1-ok> show job 32 Job ID: 32 Date: 2005-11-02T08:08:37-0700 Type: Server Refresh Status: Stopped (2005-11-02T08:08:48-0700) Command: set server 192.168.200.2 refresh Owner: root Errors: 0 Warnings: 0 Steps ID Type Start Completion Result 1 Acquire Host 2005-11-02T08:08:38-0700 2005-11-02T08:08:38-0700 Completed 2 Run Command 2005-11-02T08:08:38-0700 2005-11-02T08:08:38-0700 Completed 3 Acquire Host 2005-11-02T08:08:40-0700 2005-11-02T08:08:40-0700 Completed 4 Run Command 2005-11-02T08:08:40-0700 2005-11-02T08:08:47-0700 Stopped |