Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getNodeProcessorSocketCount()

std::int32_t IceGrid::AdminPrx::getNodeProcessorSocketCount ( std::string_view name,
const Ice::Context & context = Ice::noExplicitContext ) const

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.
contextThe request context.
Returns
The number of processor sockets or 1 if the number of sockets can't be determined.
Exceptions
IceGrid::NodeNotExistExceptionThrown when the node doesn't exist.
IceGrid::NodeUnreachableExceptionThrown when the node is unreachable.