1 #ifndef QPID_SYS_SYSTEMINFO_H
2 #define QPID_SYS_SYSTEMINFO_H
36 namespace SystemInfo {
80 std::string &nodeName,
83 std::string &machine);
void getSystemId(std::string &osName, std::string &nodeName, std::string &release, std::string &version, std::string &machine)
Retrieve system identifiers and versions.
bool getInterfaceAddresses(const std::string &interface, std::vector< std::string > &addresses)
Get strings for each of the IP addresses associated with a named network interface.
uint32_t getProcessId()
Get the process ID of the current process.
void getInterfaceNames(std::vector< std::string > &names)
Get the names of all the network interfaces connected to this host.
std::string getProcessName()
Get the name of the current process (i.e.
bool threadSafeShutdown()
Can thread related primitives be trusted during runtime house-cleaning? (i.e.
bool getLocalHostname(Address &address)
Get the local host name and set it in the specified.
uint32_t getParentProcessId()
Get the process ID of the parent of the current process.
Contains the protocol address of an AMQP broker.
#define QPID_COMMON_EXTERN
long concurrency()
Estimate available concurrency, e.g.