proc_cpu_user_pid()

Percentage of CPU time spent in user mode by the process

Syntax:

double proc_cpu_user_pid(int pid);

Arguments:

no arguments

Description:

Percentage of CPU time spent in user mode by the process.

Return Values:

On success, returns percentage of CPU time spent in user mode. On error, -1 is returned.

See Also:

proc_cpu_system_pid()



INDEX