Partager via


task view

 

Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2

Displays information about the specified task or subtask.

For examples of how to use this command, see Examples.

Syntax

task view <jobID>.<taskID>[.<subtaskID>] [/detailed:{true|false}]
[/scheduler:<name>]

task view {/? | /help}

Parameters

Parameter

Description

<jobID>.<taskID>[.<subtaskID>]

Specifies the task or subtask for which you want to view information. Only parametric tasks have subtasks. For a parametric task, you can requeue a subtask or the entire task.

/detailed[:{true|false}]

Specifies whether to display a short list of selected properties and values for the task or a complete list properties and values for the task.

  • A value of True indicates that the task view command should display a complete list of properties and values for the task.

  • A value of False indicates that the task view command should display a short list of selected properties and values for the task.

When you specify the /detailed parameter without a value, the task view command behaves as if you specified a value of True. If you do not specify the /detailed parameter, the task view command behaves as if you specified a value of False.

/scheduler:<name>

Specifies the host name or IP address of the head node for the cluster that contains the task or subtask. The value must be a valid computer name or IP address. If you do not specify the /scheduler parameter, this command uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies.

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Remarks

Starting in Microsoft® HPC Pack 2008 R2, the value that the task view command displays for the Allocated Nodes property depends on whether the task is running or complete. Before the task runs, the Allocated Nodes property contains no nodes. While the task runs, the Allocated Nodes property lists the nodes that the task is currently using. When the task is complete, the Allocated Nodes property lists all of the nodes on which the task ran.

Examples

To view information about the third task in the job with a job identifier of 32, use the following command:

task view 32.3

To view detailed information about the eighth subtask or step of a parametric task that is the second task in the job with a job identifier of 16, use the following command:

task view 16.2.8 /detailed:true

Additional references