ccvs_report

string ccvs_report(string session, string type) 

Returns the status of a CCVS background process.

Returns:

OK on success; syntax error, uninitialized, or unknown on error

Description:

ccvs_report() is used to check on the status of the CCVS daemon and transaction upload processes (ccvsd and cvupload, respectively). To check the status of ccvsd, set type to server; to check the status of cvupload, set type to upload. Passing any other string as the type parameter generates a syntax error.

The data returned must be fetched by using a call to ccvs_textvalue().

Version:

PHP 4 since 4.0.2

Example:

Report on the CCVS communication processes
 echo "Checking the ccvsd status:\n" $ret = ccvs_report($session, 'server'); echo "Returned: '$ret'; ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.