The node to query
A handle to a char which will be allocated with appropriate amount of memory and then set to the name of node. The caller must free the allocated memory when it is done with the memory.
beostat_get_name will get the name of a given node.
char *name; beostat_get_name (3, &name); printf ("The name for node 3 is %s\n", name); free (name);
This function relies on the Beostat subsystem, which consists of the proc filesystem on the remote node, the sendstatsdaemon on the remote node, the recvstats daemon on the master node, and two shared memory files in the directory /var/shm. If any part of the system breaks down, this function could fail.