TutProcInfo returns process related information
request
the information type requested.
data
a pointer to the location to store the returned data.
TRUE
if successful, FALSE
otherwise.
None
TutProcInfo returns process related information. The value given for request
determines the information returned. Available values for request
are:
None
This example gets the percentage of CPU time used by the current process then prints it:
T_REAL8 cpu_utilization;
T_BOOL status = T_TRUE;
status = TutProcInfo(T_PRINFO_CPU_UTILIZATION, &cpu_utilization);
if (T_FALSE == status) {
/* print error */
}
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |