libscap  0.1.0.0
Data Fields
scap_threadinfo Struct Reference

Process information. More...

#include <scap.h>

Data Fields

uint64_t tid
 The thread/task id. More...
 
uint64_t pid
 The id of the process containing this thread. In single thread processes, this is equal to tid. More...
 
uint64_t ptid
 The id of the thread that created this thread. More...
 
uint64_t sid
 The session id of the process containing this thread. More...
 
uint64_t vpgid
 The process group of this thread, as seen from its current pid namespace. More...
 
char comm [SCAP_MAX_PATH_SIZE+1]
 Command name (e.g. "top") More...
 
char exe [SCAP_MAX_PATH_SIZE+1]
 argv0 More...
 
char exepath [SCAP_MAX_PATH_SIZE+1]
 full executable path More...
 
char args [SCAP_MAX_ARGS_SIZE+1]
 Command line arguments (e.g. "-d1") More...
 
uint16_t args_len
 Command line arguments length. More...
 
char env [SCAP_MAX_ENV_SIZE+1]
 Environment. More...
 
uint16_t env_len
 Environment length. More...
 
char cwd [SCAP_MAX_PATH_SIZE+1]
 The current working directory. More...
 
int64_t fdlimit
 The maximum number of files this thread is allowed to open. More...
 
uint32_t flags
 the process flags. More...
 
uint32_t uid
 user id More...
 
uint32_t gid
 group id More...
 
uint32_t vmsize_kb
 total virtual memory (as kb) More...
 
uint32_t vmrss_kb
 resident non-swapped memory (as kb) More...
 
uint32_t vmswap_kb
 swapped memory (as kb) More...
 
uint64_t pfmajor
 number of major page faults since start More...
 
uint64_t pfminor
 number of minor page faults since start More...
 
int64_t vtid
 
int64_t vpid
 
char cgroups [SCAP_MAX_CGROUPS_SIZE]
 
uint16_t cgroups_len
 
char root [SCAP_MAX_PATH_SIZE+1]
 
int filtered_out
 nonzero if this entry should not be saved to file More...
 
scap_fdinfofdlist
 The fd table for this process. More...
 
uint64_t clone_ts
 
int32_t tty
 
int32_t loginuid
 loginuid (auid) More...
 
UT_hash_handle hh
 makes this structure hashable More...
 

Detailed Description

Process information.

Definition at line 216 of file scap.h.