SAM_START - Online Linux Manual PageSection : 3
Updated : 12/01/2009
Source : corosync Man Page
Note : Corosync Cluster Engine Programmer's Manual

NAMEsam_start − Start health checking

SYNOPSIS#include <corosync/sam.h> cs_error_t sam_start (void);

DESCRIPTIONThe sam_start function is used to start health checking of application. After calling this function, the active process needs to send healthchecks within the registered time interval by calling sam_hc_send(3). If event driven healthchecking is configured by calling sam_register(3), an internal thread will be created and send health check confirmations four times per time_interval. Application must be registered by calling sam_register(3) before this function can be called. An application can always stop health checking by calling the sam_stop(3) function.

RETURN VALUEThis call return CS_OK value if successful, otherwise and error is returned.

ERRORSCS_ERR_BAD_HANDLE  component was not registered by calling sam_register(3) function.

SEE ALSOsam_hc_send(3), sam_stop(3), sam_register(3), sam_hc_callback_register(3)
0
Johanes Gumabo
Data Size   :   5,858 byte
man-sam_start.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 188,676
Visitor ID   :     :  
Visitor IP   :   18.226.186.109   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.