solidDB Help : solidDB reference : solidDB Server Control (SSC) API : SSC API reference : SSCGetStatusNum
  
SSCGetStatusNum
SSCGetStatusNum returns the status information of the solidDB server.
SscRetT SSC_CALL SSCGetStatusNum(SscServerT h, SscStatusT stat,
    long * num)
Parameters
The following table describes the parameters:
 
Parameters
Usage type
Description
h
in, use
Handle to server.
stat
in
Specifies the status identifier for retrieval.
num
out
Upon successful return of the function, the value of the parameter value is set to either the number of writes not merged, or the number of server threads, depending upon which information was requested.
Comments
This function has no corresponding solidDB SQL extension ADMIN COMMAND.
If you call SSCGetStatusNum and pass an unrecognized value for the stat parameter, the function returns SSC_SUCCESS.
Return value
SSC_SUCCESS - Operation is successful. This value is also returned if you pass an invalid value for the stat parameter.
SSC_ERROR - Operation failed.
SSC_SERVER_INNETCOPYMODE - The server is in netcopy mode (HotStandby only)
SSC_SERVER_NOTRUNNING - The server is not running.
Go up to
SSC API reference