Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches

◆ getNodeProcessorSocketCount()

["cpp:const"]
idempotent int getNodeProcessorSocketCount ( string name) throws NodeNotExistException, NodeUnreachableException

Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.

Note that this operation returns 1 on operating systems where this can't be automatically determined and where the IceGrid.Node.ProcessorSocketCount property for the node is not set.

Parameters
nameThe node name.
Returns
The number of processor sockets or 1 if the number of sockets can't be determined.
Exceptions
NodeNotExistExceptionThrown when the node doesn't exist.
NodeUnreachableExceptionThrown when the node is unreachable.