osfmk/man/host_info.html
Function - Return information about a host.
**kern\_return\_t host\_info**** (host\_t **host,** host\_flavor\_t **flavor,** host\_info\_t **host\_info,** mach\_msg\_type\_number\_t **host\_info\_count** );**
host[in host-name send right] The name (or control) port for the host for which information is to be obtained.
flavor[in scalar] The type of statistics desired:
HOST_BASIC_INFO Basic information (number of processors, amount of memory). The returned structure is host_basic_info.
HOST_SCHED_INFO Basic restrictions of the kernel's scheduling, minimum quantum and time-out value. The returned structure is host_sched_info.
HOST_RESOURCE_SIZES This interface feature is not implemented in OSF/1 R1.3. Size of significant kernel structures, as a ledger would consider them when limiting kernel resource consumption. The returned structure is kernel_resource_sizes.
host_info[out structure] Statistics about the specified host.
host_info_count[in/out scalar] On input, the maximum size of the buffer; on output, the size returned (in natural-sized units).
The host_info function returns selected information about a host, as specified by flavor.
This interface is machine word length specific because of the memory size returned by HOST_BASIC_INFO.
Only generic errors apply.
Functions: host_get_boot_info, host_kernel_version, host_statistics.
Data Structures: host_basic_info, host_sched_info, kernel_resource_sizes.