Partager via


node listcores

 

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

Displays a list of the cores that are available on the nodes in the HPC cluster.

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

Syntax

node listcores [/format:{list|table}] [/jobid:<jobID>]
[/scheduler:<name>] [/state:<state1>[,<state2>…]

node listcores {/? | /help}

Parameters

Parameter

Description

/format:{list|table}

Specifies the format in which the command should display the information. The valid formats are list and table. The default format is table.

/jobid:<jobID>

Specifies the identifier of a job that is assigned to the cores for which you want to view information. If you specify the /jobid parameter, the node listcores command displays only the cores that are allocated to the specified job.

/scheduler:<name>

Specifies the host name or IP address of the head node for the cluster for which you want to display a list of cores. 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.

/state:<state1>[,<state2>…]

Specifies a list of one for more states for the cores for which you want to view information. If you specify the /state parameter, the node listcores command only lists the cores that are in the specified states.

The valid states are *, all, offline, idle, jobscheduled, readyfortask, taskrunning, and taskscheduled. Specify * or all to list all cores, regardless of their state.

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Examples

To view a list of all cores in the HPC cluster, use the following command:

node listcores

To view a list of all cores in the HPC cluster that are allocated to the job with a job identifier of 122 and that have a state of taskrunning, use the following command:

node listcores /jobid:122 /state:taskrunning

Additional references