18 #ifndef CORE_POSIX_LINUX_PROC_PROCESS_STAT_H_ 19 #define CORE_POSIX_LINUX_PROC_PROCESS_STAT_H_ 47 pid_t process_group = -1;
50 int controlling_process_group = -1;
51 unsigned int kernel_flags = 0;
52 long unsigned int minor_faults_count = 0;
53 long unsigned int minor_faults_count_by_children = 0;
54 long unsigned int major_faults_count = 0;
55 long unsigned int major_faults_count_by_children = 0;
58 long unsigned int user = 0;
59 long unsigned int system = 0;
60 long unsigned int user_for_children = 0;
61 long unsigned int system_for_children = 0;
76 long int priority = 0;
78 long int thread_count = 0;
79 long int time_before_next_sig_alarm = 0;
80 long int start_time = 0;
83 long unsigned int virt = 0;
84 long unsigned int resident_set = 0;
85 long unsigned int resident_set_limit = 0;
89 long unsigned int start_code = 0;
90 long unsigned int end_code = 0;
91 long unsigned int start_stack = 0;
92 long unsigned int stack_pointer = 0;
93 long unsigned int instruction_pointer = 0;
97 long unsigned int pending = 0;
98 long unsigned int blocked = 0;
99 long unsigned int ignored = 0;
100 long unsigned int caught = 0;
102 long unsigned int channel = 0;
103 long unsigned int swap_count = 0;
104 long unsigned int swap_count_children = 0;
105 int exit_signal = -1;
107 unsigned int realtime_priority = 0;
108 unsigned int scheduling_policy = 0;
109 long long unsigned int aggregated_block_io_delays = 0;
110 long unsigned int guest_time = 0;
111 long unsigned int guest_time_children = 0;
120 #endif // CORE_POSIX_LINUX_PROC_PROCESS_STAT_H_ std::string executable
The filename of the executable, in parentheses.
#define CORE_POSIX_DLL_PUBLIC
The Process class models a process and possible operations on it.
The Stat struct encapsulates status information about a process.
CORE_POSIX_DLL_PUBLIC const posix::Process & operator>>(const posix::Process &process, OomAdj &adj)
Read the OomAdj value for a process instance.
CORE_POSIX_DLL_PUBLIC Process parent() noexcept(true)
Query the parent of the process.