beostat_get_last_multicast¶
Name¶
beostat_get_last_multicast – get file system statistics for the root file system on a node
Synopsis¶
#include <sys/beostat.h>
time_t beostat_get_last_multicast (void);
Description¶
beostat_get_last_multicast
executes on the master node and returns
the time of the last multicast request sent to the nodes. It is usually
reserved for internal use.
Return Value¶
Returns the time in seconds since Epoch (00:00:00 UTC, January 1, 1970) of the last multicast request. If an error occurs, it will return -1.
Errors¶
This function relies on the Beostat
subsystem, which consists of the
proc
filesystem on the remote node, the sendstats
daemon 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.