beostat_set_last_multicast

Name

beostat_set_last_multicast -- set the time of the last multicast transmission to the slave nodes

Synopsis

#include <sys/beostat.h>

int beostat_set_last_multicast(time_t last);

Arguments

last

The time in seconds since the Epoch (00:00:00 UTC, January 1, 1970)

Description

beostat_set_last_multicast will set the time that the last multicast event occured. This should not be used unless you really know what you are doing. It is for internal use.

Return Value

Return 0 on success. 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 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.