0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hypertable::ProcInfo Struct Reference

A structure to receive process information (pid, user name, exe name, working directory, program arguments etc) More...

#include <SystemInfo.h>

Collaboration diagram for Hypertable::ProcInfo:
Collaboration graph
[legend]

Public Member Functions

ProcInfoinit ()
 
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< Stringargs
 

Detailed Description

A structure to receive process information (pid, user name, exe name, working directory, program arguments etc)

Definition at line 252 of file SystemInfo.h.

Member Function Documentation

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.

bool Hypertable::ProcInfo::operator!= ( const ProcInfo other) const
inline

Definition at line 255 of file SystemInfo.h.

bool ProcInfo::operator== ( const ProcInfo other) const

Definition at line 158 of file SystemInfo.cc.

Member Data Documentation

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.


The documentation for this struct was generated from the following files: