A structure to receive process information (pid, user name, exe name, working directory, program arguments etc) More...
#include <SystemInfo.h>
Public Member Functions | |
ProcInfo & | init () |
bool | operator== (const ProcInfo &other) const |
bool | operator!= (const ProcInfo &other) const |
Public Attributes | |
int64_t | pid |
String | user |
String | exe |
String | cwd |
String | root |
std::vector< String > | args |
A structure to receive process information (pid, user name, exe name, working directory, program arguments etc)
Definition at line 252 of file SystemInfo.h.
ProcInfo & Hypertable::ProcInfo::init | ( | ) |
sigar_proc_cred_name_t name; HT_ASSERT(sigar_proc_cred_name_get(sigar(), pid, &name) == SIGAR_OK); user = name.user;
Definition at line 720 of file SystemInfo.cc.
|
inline |
Definition at line 255 of file SystemInfo.h.
bool ProcInfo::operator== | ( | const ProcInfo & | other | ) | const |
Definition at line 158 of file SystemInfo.cc.
std::vector<String> Hypertable::ProcInfo::args |
Definition at line 264 of file SystemInfo.h.
String Hypertable::ProcInfo::cwd |
Definition at line 262 of file SystemInfo.h.
String Hypertable::ProcInfo::exe |
Definition at line 261 of file SystemInfo.h.
int64_t Hypertable::ProcInfo::pid |
Definition at line 259 of file SystemInfo.h.
String Hypertable::ProcInfo::root |
Definition at line 263 of file SystemInfo.h.
String Hypertable::ProcInfo::user |
Definition at line 260 of file SystemInfo.h.