Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/root/resourcemonitord/resourcemonitord/rmProcessMonitor/RM_ProcessMonitor.h File Reference

Go to the source code of this file.

Namespaces

namespace  ProcessMonitor

Defines

#define RM_PROCESS_UUID_STRING   "09d5fc35-b13d-4cf0-9e02-d655255f9aca"
#define RM_PROCESS_NAME   "ProcessMonitor"
#define RM_PROCESS_DESCRIPTION   "ProcessMonitor is a resource monitor subsystem that \provides access to statistics about a running processes. \Each running process is a resource and the statistics \are obtain from /proc/pid/[fd|stat|statm]"
#define RM_PROCESS_RESOURCE_NAME   "ProcessMonitorPid"
#define RM_PROCESS_RESOURCE_DESCRIPTION   "A ProcessMonitor resource is a process. \A valid pid of a running process is used as the resource id when creating a monitor \or accessing the value of a process statistic."
#define CPU_putime_NAME   "percent user mode time"
#define CPU_putime_DESCRIPTION   "The percentage of time that this process has been scheduled in user mode.\ It is the percentage of accummulated user mode time over the last 10 readings."
#define CPU_putime_UNITS   "percent"
#define CPU_pstime_NAME   "percent system mode time"
#define CPU_pstime_DESCRIPTION   "The percentage of time that this process has been scheduled in kernel mode.\ It is the percentage of accummulated kernel mode time over the last 10 readings."
#define CPU_pstime_UNITS   "percent"
#define CPU_ptime_NAME   "percent CPU time"
#define CPU_ptime_DESCRIPTION   "The percentage of time that this process has been scheduled in user and kernel mode.\ It is the percentage of accummulated user plus system mode time over the last 10 readings."
#define CPU_ptime_UNITS   "percent"
#define FD_fds_NAME   "open files"
#define FD_fds_DESCRIPTION   "Current number of open files as reported in the /proc/pid/fd directory"
#define FD_fds_UNITS   "file descriptors"
#define STAT_minflt_NAME   "minor faults"
#define STAT_minflt_DESCRIPTION   "The number of minor faults the process has made, those which have not required loading a memory page from disk."
#define STAT_minflt_UNITS   "faults"
#define STAT_cminflt_NAME   "children minor faults"
#define STAT_cminflt_DESCRIPTION   "The number of minor faults that the process and its children have made."
#define STAT_cminflt_UNITS   "faults"
#define STAT_majflt_NAME   "major fault"
#define STAT_majflt_DESCRIPTION   "The number of major faults the process has made, those which have required loading a memory page from disk."
#define STAT_majflt_UNITS   "faults"
#define STAT_cmajflt_NAME   "children major faults"
#define STAT_cmajflt_DESCRIPTION   "The number of major faults that the process and its children have made."
#define STAT_cmajflt_UNITS   "faults"
#define STAT_utime_NAME   "user mode time"
#define STAT_utime_DESCRIPTION   "The number of jiffies that this process has been scheduled in user mode."
#define STAT_utime_UNITS   "jiffies"
#define STAT_stime_NAME   "system mode time"
#define STAT_stime_DESCRIPTION   "The number of jiffies that this process has been scheduled in kernel mode."
#define STAT_stime_UNITS   "jiffies"
#define STAT_cutime_NAME   "children user mode time"
#define STAT_cutime_DESCRIPTION   "The number of jiffies that this process and its children have been scheduled in user mode."
#define STAT_cutime_UNITS   "jiffies"
#define STAT_cstime_NAME   "children system mode time"
#define STAT_cstime_DESCRIPTION   "The number of jiffies that this process and its children have been scheduled in kernel mode."
#define STAT_cstime_UNITS   "jiffies"
#define STAT_counter_NAME   "current timeslice"
#define STAT_counter_DESCRIPTION   "The current maximum size in jiffies of the process's next timeslice, or what is currently left of its current timeslice, if it is the currently running process."
#define STAT_counter_UNITS   "jiffies"
#define STAT_priority_NAME   "priority"
#define STAT_priority_DESCRIPTION   "The standard nice value, plus fifteen. The value is never negative in the kernel."
#define STAT_priority_UNITS   ""
#define STAT_timeout_NAME   "next timeout"
#define STAT_timeout_DESCRIPTION   "The time in jiffies of the process's next timeout."
#define STAT_timeout_UNITS   "jiffies"
#define STAT_itrealvalue_NAME   "next SIGARM"
#define STAT_itrealvalue_DESCRIPTION   "The time (in jiffies) before the next SIGARM is sent to the process due to an interval timer."
#define STAT_itrealvalue_UNITS   "jiffies"
#define STAT_starttime_NAME   "start time"
#define STAT_starttime_DESCRIPTION   "Time the process started in jiffies after system boot."
#define STAT_starttime_UNITS   "jiffies"
#define STAT_vsize_NAME   "virtual memory size"
#define STAT_vsize_DESCRIPTION   "Virtual memory size."
#define STAT_vsize_UNITS   "bytes"
#define STAT_rss_NAME   "resident set size"
#define STAT_rss_DESCRIPTION   "Resident Set Size: number of pages the process has in real memory, minus 3 for administrative purposes. This is just the pages which count towards text, data, or stack space. This does not include pages which have not been demand-loaded in, or which are swapped out."
#define STAT_rss_UNITS   "pages"
#define STAT_rlim_NAME   "resident set limit"
#define STAT_rlim_DESCRIPTION   "Current limit in bytes on the rss of the process (usually 2,147,483,647)."
#define STAT_rlim_UNITS   "bytes"
#define STATM_size_NAME   "total program size"
#define STATM_size_DESCRIPTION   "total program size in pages"
#define STATM_size_UNITS   "pages"
#define STATM_resident_NAME   "resident size"
#define STATM_resident_DESCRIPTION   "resident size of memory portions in pages"
#define STATM_resident_UNITS   "pages"
#define STATM_shared_NAME   "shared size"
#define STATM_shared_DESCRIPTION   "number of pages that are shared"
#define STATM_shared_UNITS   "pages"
#define STATM_trs_NAME   "code size"
#define STATM_trs_DESCRIPTION   "number of pages that are 'code'"
#define STATM_trs_UNITS   "pages"
#define STATM_drs_NAME   "data size"
#define STATM_drs_DESCRIPTION   "number of pages of data/stack"
#define STATM_drs_UNITS   "pages"
#define STATM_lrs_NAME   "library size"
#define STATM_lrs_DESCRIPTION   "number of pages of library"
#define STATM_lrs_UNITS   "pages"
#define STATM_dt_NAME   "dirty size"
#define STATM_dt_DESCRIPTION   "number of dirty pages"
#define STATM_dt_UNITS   "pages"
#define CPU_putime_ID   60
#define CPU_putime_TYPE   rmGauge
#define CPU_putime_SIZE   rmSizeU32
#define CPU_putime_SCALE   rmScaleNone
#define CPU_pstime_ID   61
#define CPU_pstime_TYPE   rmGauge
#define CPU_pstime_SIZE   rmSizeU32
#define CPU_pstime_SCALE   rmScaleNone
#define CPU_ptime_ID   62
#define CPU_ptime_TYPE   rmGauge
#define CPU_ptime_SIZE   rmSizeU32
#define CPU_ptime_SCALE   rmScaleNone
#define FD_fds_ID   80
#define FD_fds_TYPE   rmGauge
#define FD_fds_SIZE   rmSizeU32
#define FD_fds_SCALE   rmScaleNone
#define STAT_minflt_ID   100
#define STAT_minflt_TYPE   rmCounter
#define STAT_minflt_SIZE   rmSizeU32
#define STAT_minflt_SCALE   rmScaleNone
#define STAT_cminflt_ID   101
#define STAT_cminflt_TYPE   rmCounter
#define STAT_cminflt_SIZE   rmSizeU32
#define STAT_cminflt_SCALE   rmScaleNone
#define STAT_majflt_ID   102
#define STAT_majflt_TYPE   rmCounter
#define STAT_majflt_SIZE   rmSizeU32
#define STAT_majflt_SCALE   rmScaleNone
#define STAT_cmajflt_ID   103
#define STAT_cmajflt_TYPE   rmCounter
#define STAT_cmajflt_SIZE   rmSizeU32
#define STAT_cmajflt_SCALE   rmScaleNone
#define STAT_utime_ID   104
#define STAT_utime_TYPE   rmCounter
#define STAT_utime_SIZE   rmSizeU32
#define STAT_utime_SCALE   rmScaleJiffies
#define STAT_stime_ID   105
#define STAT_stime_TYPE   rmCounter
#define STAT_stime_SIZE   rmSizeU32
#define STAT_stime_SCALE   rmScaleJiffies
#define STAT_cutime_ID   106
#define STAT_cutime_TYPE   rmCounter
#define STAT_cutime_SIZE   rmSizeU32
#define STAT_cutime_SCALE   rmScaleJiffies
#define STAT_cstime_ID   107
#define STAT_cstime_TYPE   rmCounter
#define STAT_cstime_SIZE   rmSizeU32
#define STAT_cstime_SCALE   rmScaleJiffies
#define STAT_counter_ID   108
#define STAT_counter_TYPE   rmGauge
#define STAT_counter_SIZE   rmSizeU32
#define STAT_counter_SCALE   rmScaleJiffies
#define STAT_priority_ID   109
#define STAT_priority_TYPE   rmGauge
#define STAT_priority_SIZE   rmSizeU32
#define STAT_priority_SCALE   rmScaleNone
#define STAT_timeout_ID   110
#define STAT_timeout_TYPE   rmGauge
#define STAT_timeout_SIZE   rmSizeU32
#define STAT_timeout_SCALE   rmScaleJiffies
#define STAT_itrealvalue_ID   111
#define STAT_itrealvalue_TYPE   rmGauge
#define STAT_itrealvalue_SIZE   rmSizeU32
#define STAT_itrealvalue_SCALE   rmScaleJiffies
#define STAT_starttime_ID   112
#define STAT_starttime_TYPE   rmCounter
#define STAT_starttime_SIZE   rmSizeU32
#define STAT_starttime_SCALE   rmScaleJiffies
#define STAT_vsize_ID   113
#define STAT_vsize_TYPE   rmGauge
#define STAT_vsize_SIZE   rmSizeU32
#define STAT_vsize_SCALE   rmScaleByte
#define STAT_rss_ID   114
#define STAT_rss_TYPE   rmGauge
#define STAT_rss_SIZE   rmSizeU32
#define STAT_rss_SCALE   rmScalePages
#define STAT_rlim_ID   115
#define STAT_rlim_TYPE   rmCounter
#define STAT_rlim_SIZE   rmSizeU32
#define STAT_rlim_SCALE   rmScaleByte
#define STATM_size_ID   150
#define STATM_size_TYPE   rmGauge
#define STATM_size_SIZE   rmSizeU32
#define STATM_size_SCALE   rmScalePages
#define STATM_resident_ID   151
#define STATM_resident_TYPE   rmGauge
#define STATM_resident_SIZE   rmSizeU32
#define STATM_resident_SCALE   rmScalePages
#define STATM_shared_ID   152
#define STATM_shared_TYPE   rmGauge
#define STATM_shared_SIZE   rmSizeU32
#define STATM_shared_SCALE   rmScalePages
#define STATM_trs_ID   153
#define STATM_trs_TYPE   rmGauge
#define STATM_trs_SIZE   rmSizeU32
#define STATM_trs_SCALE   rmScalePages
#define STATM_drs_ID   154
#define STATM_drs_TYPE   rmGauge
#define STATM_drs_SIZE   rmSizeU32
#define STATM_drs_SCALE   rmScalePages
#define STATM_lrs_ID   155
#define STATM_lrs_TYPE   rmGauge
#define STATM_lrs_SIZE   rmSizeU32
#define STATM_lrs_SCALE   rmScalePages
#define STATM_dt_ID   156
#define STATM_dt_TYPE   rmGauge
#define STATM_dt_SIZE   rmSizeU32
#define STATM_dt_SCALE   rmScalePages


Define Documentation

#define CPU_pstime_DESCRIPTION   "The percentage of time that this process has been scheduled in kernel mode.\ It is the percentage of accummulated kernel mode time over the last 10 readings."
 

#define CPU_pstime_ID   61
 

#define CPU_pstime_NAME   "percent system mode time"
 

#define CPU_pstime_SCALE   rmScaleNone
 

#define CPU_pstime_SIZE   rmSizeU32
 

#define CPU_pstime_TYPE   rmGauge
 

#define CPU_pstime_UNITS   "percent"
 

#define CPU_ptime_DESCRIPTION   "The percentage of time that this process has been scheduled in user and kernel mode.\ It is the percentage of accummulated user plus system mode time over the last 10 readings."
 

#define CPU_ptime_ID   62
 

#define CPU_ptime_NAME   "percent CPU time"
 

#define CPU_ptime_SCALE   rmScaleNone
 

#define CPU_ptime_SIZE   rmSizeU32
 

#define CPU_ptime_TYPE   rmGauge
 

#define CPU_ptime_UNITS   "percent"
 

#define CPU_putime_DESCRIPTION   "The percentage of time that this process has been scheduled in user mode.\ It is the percentage of accummulated user mode time over the last 10 readings."
 

#define CPU_putime_ID   60
 

#define CPU_putime_NAME   "percent user mode time"
 

#define CPU_putime_SCALE   rmScaleNone
 

#define CPU_putime_SIZE   rmSizeU32
 

#define CPU_putime_TYPE   rmGauge
 

#define CPU_putime_UNITS   "percent"
 

#define FD_fds_DESCRIPTION   "Current number of open files as reported in the /proc/pid/fd directory"
 

#define FD_fds_ID   80
 

#define FD_fds_NAME   "open files"
 

#define FD_fds_SCALE   rmScaleNone
 

#define FD_fds_SIZE   rmSizeU32
 

#define FD_fds_TYPE   rmGauge
 

#define FD_fds_UNITS   "file descriptors"
 

#define RM_PROCESS_DESCRIPTION   "ProcessMonitor is a resource monitor subsystem that \provides access to statistics about a running processes. \Each running process is a resource and the statistics \are obtain from /proc/pid/[fd|stat|statm]"
 

#define RM_PROCESS_NAME   "ProcessMonitor"
 

#define RM_PROCESS_RESOURCE_DESCRIPTION   "A ProcessMonitor resource is a process. \A valid pid of a running process is used as the resource id when creating a monitor \or accessing the value of a process statistic."
 

#define RM_PROCESS_RESOURCE_NAME   "ProcessMonitorPid"
 

#define RM_PROCESS_UUID_STRING   "09d5fc35-b13d-4cf0-9e02-d655255f9aca"
 

#define STATM_drs_DESCRIPTION   "number of pages of data/stack"
 

#define STATM_drs_ID   154
 

#define STATM_drs_NAME   "data size"
 

#define STATM_drs_SCALE   rmScalePages
 

#define STATM_drs_SIZE   rmSizeU32
 

#define STATM_drs_TYPE   rmGauge
 

#define STATM_drs_UNITS   "pages"
 

#define STATM_dt_DESCRIPTION   "number of dirty pages"
 

#define STATM_dt_ID   156
 

#define STATM_dt_NAME   "dirty size"
 

#define STATM_dt_SCALE   rmScalePages
 

#define STATM_dt_SIZE   rmSizeU32
 

#define STATM_dt_TYPE   rmGauge
 

#define STATM_dt_UNITS   "pages"
 

#define STATM_lrs_DESCRIPTION   "number of pages of library"
 

#define STATM_lrs_ID   155
 

#define STATM_lrs_NAME   "library size"
 

#define STATM_lrs_SCALE   rmScalePages
 

#define STATM_lrs_SIZE   rmSizeU32
 

#define STATM_lrs_TYPE   rmGauge
 

#define STATM_lrs_UNITS   "pages"
 

#define STATM_resident_DESCRIPTION   "resident size of memory portions in pages"
 

#define STATM_resident_ID   151
 

#define STATM_resident_NAME   "resident size"
 

#define STATM_resident_SCALE   rmScalePages
 

#define STATM_resident_SIZE   rmSizeU32
 

#define STATM_resident_TYPE   rmGauge
 

#define STATM_resident_UNITS   "pages"
 

#define STATM_shared_DESCRIPTION   "number of pages that are shared"
 

#define STATM_shared_ID   152
 

#define STATM_shared_NAME   "shared size"
 

#define STATM_shared_SCALE   rmScalePages
 

#define STATM_shared_SIZE   rmSizeU32
 

#define STATM_shared_TYPE   rmGauge
 

#define STATM_shared_UNITS   "pages"
 

#define STATM_size_DESCRIPTION   "total program size in pages"
 

#define STATM_size_ID   150
 

#define STATM_size_NAME   "total program size"
 

#define STATM_size_SCALE   rmScalePages
 

#define STATM_size_SIZE   rmSizeU32
 

#define STATM_size_TYPE   rmGauge
 

#define STATM_size_UNITS   "pages"
 

#define STATM_trs_DESCRIPTION   "number of pages that are 'code'"
 

#define STATM_trs_ID   153
 

#define STATM_trs_NAME   "code size"
 

#define STATM_trs_SCALE   rmScalePages
 

#define STATM_trs_SIZE   rmSizeU32
 

#define STATM_trs_TYPE   rmGauge
 

#define STATM_trs_UNITS   "pages"
 

#define STAT_cmajflt_DESCRIPTION   "The number of major faults that the process and its children have made."
 

#define STAT_cmajflt_ID   103
 

#define STAT_cmajflt_NAME   "children major faults"
 

#define STAT_cmajflt_SCALE   rmScaleNone
 

#define STAT_cmajflt_SIZE   rmSizeU32
 

#define STAT_cmajflt_TYPE   rmCounter
 

#define STAT_cmajflt_UNITS   "faults"
 

#define STAT_cminflt_DESCRIPTION   "The number of minor faults that the process and its children have made."
 

#define STAT_cminflt_ID   101
 

#define STAT_cminflt_NAME   "children minor faults"
 

#define STAT_cminflt_SCALE   rmScaleNone
 

#define STAT_cminflt_SIZE   rmSizeU32
 

#define STAT_cminflt_TYPE   rmCounter
 

#define STAT_cminflt_UNITS   "faults"
 

#define STAT_counter_DESCRIPTION   "The current maximum size in jiffies of the process's next timeslice, or what is currently left of its current timeslice, if it is the currently running process."
 

#define STAT_counter_ID   108
 

#define STAT_counter_NAME   "current timeslice"
 

#define STAT_counter_SCALE   rmScaleJiffies
 

#define STAT_counter_SIZE   rmSizeU32
 

#define STAT_counter_TYPE   rmGauge
 

#define STAT_counter_UNITS   "jiffies"
 

#define STAT_cstime_DESCRIPTION   "The number of jiffies that this process and its children have been scheduled in kernel mode."
 

#define STAT_cstime_ID   107
 

#define STAT_cstime_NAME   "children system mode time"
 

#define STAT_cstime_SCALE   rmScaleJiffies
 

#define STAT_cstime_SIZE   rmSizeU32
 

#define STAT_cstime_TYPE   rmCounter
 

#define STAT_cstime_UNITS   "jiffies"
 

#define STAT_cutime_DESCRIPTION   "The number of jiffies that this process and its children have been scheduled in user mode."
 

#define STAT_cutime_ID   106
 

#define STAT_cutime_NAME   "children user mode time"
 

#define STAT_cutime_SCALE   rmScaleJiffies
 

#define STAT_cutime_SIZE   rmSizeU32
 

#define STAT_cutime_TYPE   rmCounter
 

#define STAT_cutime_UNITS   "jiffies"
 

#define STAT_itrealvalue_DESCRIPTION   "The time (in jiffies) before the next SIGARM is sent to the process due to an interval timer."
 

#define STAT_itrealvalue_ID   111
 

#define STAT_itrealvalue_NAME   "next SIGARM"
 

#define STAT_itrealvalue_SCALE   rmScaleJiffies
 

#define STAT_itrealvalue_SIZE   rmSizeU32
 

#define STAT_itrealvalue_TYPE   rmGauge
 

#define STAT_itrealvalue_UNITS   "jiffies"
 

#define STAT_majflt_DESCRIPTION   "The number of major faults the process has made, those which have required loading a memory page from disk."
 

#define STAT_majflt_ID   102
 

#define STAT_majflt_NAME   "major fault"
 

#define STAT_majflt_SCALE   rmScaleNone
 

#define STAT_majflt_SIZE   rmSizeU32
 

#define STAT_majflt_TYPE   rmCounter
 

#define STAT_majflt_UNITS   "faults"
 

#define STAT_minflt_DESCRIPTION   "The number of minor faults the process has made, those which have not required loading a memory page from disk."
 

#define STAT_minflt_ID   100
 

#define STAT_minflt_NAME   "minor faults"
 

#define STAT_minflt_SCALE   rmScaleNone
 

#define STAT_minflt_SIZE   rmSizeU32
 

#define STAT_minflt_TYPE   rmCounter
 

#define STAT_minflt_UNITS   "faults"
 

#define STAT_priority_DESCRIPTION   "The standard nice value, plus fifteen. The value is never negative in the kernel."
 

#define STAT_priority_ID   109
 

#define STAT_priority_NAME   "priority"
 

#define STAT_priority_SCALE   rmScaleNone
 

#define STAT_priority_SIZE   rmSizeU32
 

#define STAT_priority_TYPE   rmGauge
 

#define STAT_priority_UNITS   ""
 

#define STAT_rlim_DESCRIPTION   "Current limit in bytes on the rss of the process (usually 2,147,483,647)."
 

#define STAT_rlim_ID   115
 

#define STAT_rlim_NAME   "resident set limit"
 

#define STAT_rlim_SCALE   rmScaleByte
 

#define STAT_rlim_SIZE   rmSizeU32
 

#define STAT_rlim_TYPE   rmCounter
 

#define STAT_rlim_UNITS   "bytes"
 

#define STAT_rss_DESCRIPTION   "Resident Set Size: number of pages the process has in real memory, minus 3 for administrative purposes. This is just the pages which count towards text, data, or stack space. This does not include pages which have not been demand-loaded in, or which are swapped out."
 

#define STAT_rss_ID   114
 

#define STAT_rss_NAME   "resident set size"
 

#define STAT_rss_SCALE   rmScalePages
 

#define STAT_rss_SIZE   rmSizeU32
 

#define STAT_rss_TYPE   rmGauge
 

#define STAT_rss_UNITS   "pages"
 

#define STAT_starttime_DESCRIPTION   "Time the process started in jiffies after system boot."
 

#define STAT_starttime_ID   112
 

#define STAT_starttime_NAME   "start time"
 

#define STAT_starttime_SCALE   rmScaleJiffies
 

#define STAT_starttime_SIZE   rmSizeU32
 

#define STAT_starttime_TYPE   rmCounter
 

#define STAT_starttime_UNITS   "jiffies"
 

#define STAT_stime_DESCRIPTION   "The number of jiffies that this process has been scheduled in kernel mode."
 

#define STAT_stime_ID   105
 

#define STAT_stime_NAME   "system mode time"
 

#define STAT_stime_SCALE   rmScaleJiffies
 

#define STAT_stime_SIZE   rmSizeU32
 

#define STAT_stime_TYPE   rmCounter
 

#define STAT_stime_UNITS   "jiffies"
 

#define STAT_timeout_DESCRIPTION   "The time in jiffies of the process's next timeout."
 

#define STAT_timeout_ID   110
 

#define STAT_timeout_NAME   "next timeout"
 

#define STAT_timeout_SCALE   rmScaleJiffies
 

#define STAT_timeout_SIZE   rmSizeU32
 

#define STAT_timeout_TYPE   rmGauge
 

#define STAT_timeout_UNITS   "jiffies"
 

#define STAT_utime_DESCRIPTION   "The number of jiffies that this process has been scheduled in user mode."
 

#define STAT_utime_ID   104
 

#define STAT_utime_NAME   "user mode time"
 

#define STAT_utime_SCALE   rmScaleJiffies
 

#define STAT_utime_SIZE   rmSizeU32
 

#define STAT_utime_TYPE   rmCounter
 

#define STAT_utime_UNITS   "jiffies"
 

#define STAT_vsize_DESCRIPTION   "Virtual memory size."
 

#define STAT_vsize_ID   113
 

#define STAT_vsize_NAME   "virtual memory size"
 

#define STAT_vsize_SCALE   rmScaleByte
 

#define STAT_vsize_SIZE   rmSizeU32
 

#define STAT_vsize_TYPE   rmGauge
 

#define STAT_vsize_UNITS   "bytes"
 


Generated at Sat Sep 7 21:21:08 2002 for Resource Monitoring Facility by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001