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

◆ getServerPid()

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

Gets the system process ID of a server.

The process ID is operating system dependent.

Parameters
idThe server ID.
contextThe request context.
Returns
The process ID.
Exceptions
IceGrid::DeploymentExceptionThrown when the deployment of the server failed.
IceGrid::NodeUnreachableExceptionThrown when the node is unreachable.
IceGrid::ServerNotExistExceptionThrown when the server doesn't exist.