class OSProcess

This class requests all needed information about a process and stores it for later retrival. More...

Definition#include <whatsup/OSProcess.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Methods

Private Members


Detailed Description

This class requests all needed information about a process and stores it for later retrival.

 OSProcess (const void* info, TimeStampList* lastTStamps, TimeStampList* newTStamps)

OSProcess

This constructor must be used if the CPU load values are needed. These values can only be determined with the help of a list that contains performance information of a previous measurement.

 OSProcess (int pid_)

OSProcess

This constructor can be used if no CPU load values are needed.

 ~OSProcess ()

~OSProcess

[virtual]

const char*  getName (void)

getName

[const]

const QString&  getCmdLine (void)

getCmdLine

[const]

const char*  getStatusTxt (void)

getStatusTxt

[const]

const QString&  getUserName (void)

getUserName

[const]

pid_t  getPid (void)

getPid

[const]

pid_t  getPpid (void)

getPpid

[const]

uid_t  getUid (void)

getUid

[const]

gid_t  getGid (void)

getGid

[const]

int  getPriority (void)

getPriority

[const]

int  getNiceLevel (void)

getNiceLevel

[const]

unsigned int  getVm_size (void)

getVm_size

[const]

unsigned int  getVm_rss (void)

getVm_rss

[const]

unsigned int  getVm_lib (void)

getVm_lib

[const]

unsigned int  getUserTime (void)

getUserTime

[const]

unsigned int  getSysTime (void)

getSysTime

[const]

double  getUserLoad (void)

getUserLoad

[const]

double  getSysLoad (void)

getSysLoad

[const]

bool  exists (void)

exists

[const]

bool  ok (void)

ok

[const]

const QString&  getErrMessage (void)

getErrMessage

bool  setNiceLevel (int newNiceLevel)

setNiceLevel

bool  sendSignal (int sig)

sendSignal

bool  read (const void* info)

read

[private]

char name[101]

name[101]

[private]

QString cmdline

cmdline

[private]

QString statusTxt

statusTxt

[private]

pid_t pid

pid

[private]

pid_t ppid

ppid

[private]

QString userName

userName

[private]

uid_t uid

uid

[private]

gid_t gid

gid

[private]

int ttyNo

ttyNo

[private]

int niceLevel

niceLevel

[private]

int priority

priority

[private]

unsigned int vm_size

vm_size

[private]

unsigned int vm_rss

vm_rss

[private]

unsigned int vm_lib

vm_lib

[private]

unsigned int userTime

userTime

[private]

unsigned int sysTime

sysTime

[private]

double userLoad

userLoad

[private]

double sysLoad

sysLoad

[private]

bool error

error

[private]

QString errMessage

errMessage

[private]


Generated by: andreas on linux on Sat Jun 15 19:28:49 2002, using kdoc 2.0a53.