| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

SysProcStat.h
Go to the documentation of this file.
1 /*
2 * SysProcStat.h
3 *
4 * Created on: Jul 6, 2012
5 * Author: Ivan Valencik
6 */
7
8 #ifndef SYSPROCSTAT_H_
9 #define SYSPROCSTAT_H_
10
11 namespace Gaudi
12 {
13 class SysProcStat
14 {
15
16 public:
17 int pid, ppid, pgrp, session, tty_nr, tpgid, exit_signal, processor;
18 long unsigned flags, minflt, cminflt, majflt, cmajflt, utime, stime, startime, vsize, rlim, startcode, endcode,
19 startstack, kstkesp, kstkeip, signal, blocked, sigingore, sigcatch, wchan, nswap, cnswap;
20 long int cutime, cstime, priority, nice, num_threads, itrealvalue, rss;
21 char comm[128], state;
22
23 long time;
24
25 SysProcStat();
26 virtual ~SysProcStat() = default;
27
28 // updates the values by calling /proc/self/stat
29 virtual int update();
30 };
31 }
32 #endif /* SYSPROCSTAT_H_ */
Gaudi::SysProcStat::tty_nr
int tty_nr
Definition: SysProcStat.h:17
Gaudi::SysProcStat::sigingore
long unsigned sigingore
Definition: SysProcStat.h:18
Gaudi::SysProcStat::stime
long unsigned stime
Definition: SysProcStat.h:18
Gaudi::SysProcStat::startcode
long unsigned startcode
Definition: SysProcStat.h:18
Gaudi::SysProcStat::cutime
long int cutime
Definition: SysProcStat.h:20
Gaudi::SysProcStat::sigcatch
long unsigned sigcatch
Definition: SysProcStat.h:18
Gaudi::SysProcStat::cstime
long int cstime
Definition: SysProcStat.h:20
Gaudi::SysProcStat::SysProcStat
SysProcStat()
Definition: SysProcStat.cpp:14
Gaudi::SysProcStat::blocked
long unsigned blocked
Definition: SysProcStat.h:18
Gaudi::SysProcStat::nice
long int nice
Definition: SysProcStat.h:20
Gaudi::SysProcStat::cminflt
long unsigned cminflt
Definition: SysProcStat.h:18
Gaudi::SysProcStat::nswap
long unsigned nswap
Definition: SysProcStat.h:18
Gaudi::SysProcStat::majflt
long unsigned majflt
Definition: SysProcStat.h:18
Gaudi::SysProcStat::pgrp
int pgrp
Definition: SysProcStat.h:17
Gaudi::SysProcStat::minflt
long unsigned minflt
Definition: SysProcStat.h:18
Gaudi::SysProcStat::ppid
int ppid
Definition: SysProcStat.h:17
Gaudi::SysProcStat::itrealvalue
long int itrealvalue
Definition: SysProcStat.h:20
Gaudi::SysProcStat::kstkeip
long unsigned kstkeip
Definition: SysProcStat.h:18
Gaudi::SysProcStat::processor
int processor
Definition: SysProcStat.h:17
Gaudi::SysProcStat::wchan
long unsigned wchan
Definition: SysProcStat.h:18
Gaudi::SysProcStat::vsize
long unsigned vsize
Definition: SysProcStat.h:18
Gaudi::SysProcStat::comm
char comm[128]
Definition: SysProcStat.h:21
Gaudi::SysProcStat::update
virtual int update()
Definition: SysProcStat.cpp:19
Gaudi::SysProcStat::cnswap
long unsigned cnswap
Definition: SysProcStat.h:18
Gaudi::SysProcStat::time
long time
Definition: SysProcStat.h:23
Gaudi::SysProcStat::cmajflt
long unsigned cmajflt
Definition: SysProcStat.h:18
Gaudi::SysProcStat::state
char state
Definition: SysProcStat.h:21
Gaudi::SysProcStat::signal
long unsigned signal
Definition: SysProcStat.h:18
Gaudi::SysProcStat::utime
long unsigned utime
Definition: SysProcStat.h:18
Gaudi::SysProcStat::tpgid
int tpgid
Definition: SysProcStat.h:17
Gaudi::SysProcStat::kstkesp
long unsigned kstkesp
Definition: SysProcStat.h:18
Gaudi::SysProcStat::startstack
long unsigned startstack
Definition: SysProcStat.h:18
Gaudi::SysProcStat::rlim
long unsigned rlim
Definition: SysProcStat.h:18
Gaudi::SysProcStat::priority
long int priority
Definition: SysProcStat.h:20
Gaudi::SysProcStat::session
int session
Definition: SysProcStat.h:17
Gaudi::SysProcStat::rss
long int rss
Definition: SysProcStat.h:20
Gaudi::SysProcStat
Definition: SysProcStat.h:13
Gaudi::SysProcStat::pid
int pid
Definition: SysProcStat.h:17
Gaudi::SysProcStat::exit_signal
int exit_signal
Definition: SysProcStat.h:17
Gaudi::SysProcStat::flags
long unsigned flags
Definition: SysProcStat.h:18
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1
Gaudi::SysProcStat::startime
long unsigned startime
Definition: SysProcStat.h:18
Gaudi::SysProcStat::num_threads
long int num_threads
Definition: SysProcStat.h:20
Gaudi::SysProcStat::endcode
long unsigned endcode
Definition: SysProcStat.h:18
Gaudi::SysProcStat::~SysProcStat
virtual ~SysProcStat()=default