Apache Mesos
Classes | Functions
proc Namespace Reference

Classes

struct  ProcessStatus
 
struct  SystemStatus
 
struct  CPU
 

Functions

Result< ProcessStatusstatus (pid_t pid)
 
Result< std::string > cmdline (const Option< pid_t > &pid=None())
 
Try< std::set< pid_t > > pids ()
 
Try< std::set< pid_t > > threads (pid_t pid)
 
Try< SystemStatusstatus ()
 
bool operator== (const CPU &lhs, const CPU &rhs)
 
bool operator< (const CPU &lhs, const CPU &rhs)
 
std::ostream & operator<< (std::ostream &stream, const CPU &cpu)
 
Try< std::list< CPU > > cpus ()
 

Function Documentation

Result<std::string> proc::cmdline ( const Option< pid_t > &  pid = None())
inline
Try<std::list<CPU> > proc::cpus ( )
inline
bool proc::operator< ( const CPU &  lhs,
const CPU &  rhs 
)
inline
std::ostream& proc::operator<< ( std::ostream &  stream,
const CPU &  cpu 
)
inline
bool proc::operator== ( const CPU &  lhs,
const CPU &  rhs 
)
inline
Try<std::set<pid_t> > proc::pids ( )
inline
Result<ProcessStatus> proc::status ( pid_t  pid)
inline
Try<SystemStatus> proc::status ( )
inline
Try<std::set<pid_t> > proc::threads ( pid_t  pid)
inline