September 2001
Intermediate to advanced
768 pages
32h 45m
English
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:
echo "Checking the ccvsd status:\n" $ret = ccvs_report($session, 'server'); echo "Returned: '$ret'; ... |
Read now
Unlock full access