struct SHostInfoTag * HOST_INFO
Handle for the user code use.
const char * HINFO_AffinityArgvalue(const HOST_INFO host_info)
Obtain the affinity argument's value that has keyed the service selection (if argument affinities hav...
unsigned short port
Port number, host byte order.
TNCBI_Time bootup
System boot time, time_t-compatible.
TNCBI_Time startup
LBSMD start time, time_t-compatible.
unsigned short TNcbiCapacity
int HINFO_LoadAverage(const HOST_INFO host_info, double lavg[2])
Obtain host load averages.
int HINFO_Memusage(const HOST_INFO host_info, double memusage[5])
Get memory usage data.
unsigned short TNcbiOSType
unsigned int HINFO_HostAddr(const HOST_INFO host_info)
Get the official host address.
int HINFO_CpuUnits(const HOST_INFO host_info)
Get physical CPU count (number of physical cores, not packages).
int HINFO_CpuCount(const HOST_INFO host_info)
Get CPU count (number of logical cores, hyper-threaded included).
TNcbiCapacity bits
Platform bitness, 32/64/32+64/0=unknown.
unsigned short svcpack
Kernel service pack (Hi=major, Lo=minor)
const char * HINFO_AffinityArgument(const HOST_INFO host_info)
Obtain the affinity argument that has keyed the service selection (if argument affinities have been u...
double used
Port usage as percentage, [0..100].
double HINFO_CpuClock(const HOST_INFO host_info)
Get CPU clock rate.
TNcbiOSType ostype
OS type ID, see enum, 0=unknown.
int HINFO_Status(const HOST_INFO host_info, double status[2])
Obtain LB host availability status.
int HINFO_TaskCount(const HOST_INFO host_info)
Get task count.
int HINFO_PortUsage(const HOST_INFO host_info, SHINFO_PortUsage ports[], size_t count)
Obtain host port usage (currently only 4 first ports are published).
const char * HINFO_Environment(const HOST_INFO host_info)
Obtain and return LB host environment.
int HINFO_MachineParams(const HOST_INFO host_info, SHINFO_Params *params)
Get host parameters.
TNcbiArch arch
Architecture ID, see enum, 0=unknown.
size_t pgsize
Hardware page size in bytes, if known.
@ fArch_Virtual
Set when a VM.
@ fArch_Unknown
Unknown/undefined CPU type.
@ fCapacity_64
64 bits, but 32-bit backward compatible
@ fCapacity_32
32 bits only
@ fCapacity_32_64
32 bits, but 64-bit forward compatible
#define NCBI_XCONNECT_EXPORT
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4