libmsngr  1.1
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups
Process Stats

Functions

ProcStatsprocstats_get (void)
 Get process stats.
void procstats_print (FILE *fp)
 Print process stats.

Detailed Description


Function Documentation

ProcStats* procstats_get ( void  )

Get process stats.

The return value of this function points to the internal ProcStats structure and must not be modified or freed by the calling process.

Returns:
pointer to the internal ProcStats structure

Definition at line 276 of file msngr_procstats.c.

void procstats_print ( FILE *  fp)

Print process stats.

This function will print the current process information for:

- Executable File Name
- Process Image Size
- Resident Set Size
- Total CPU Time
- Total Read/Write IO
- Run Time
Parameters:
fp- pointer to output file stream

Definition at line 327 of file msngr_procstats.c.