proc_cmaj_flt_pid()

The number of accumulated major faults

Syntax:

unsigned long proc_cmaj_flt_pid(int pid);

Arguments:

Name Description
pid PID of process

Description:

The number of major faults incurred by the process and its children. A major fault is an error in accessing memory pages which is handled with accessing external media.

Return Values:

On success, returns the number of accumulated major faults. On error, -1 is returned.

See Also:

proc_min_flt_pid(), proc_cmin_flt_pid(), proc_maj_flt_pid()



INDEX