This class helps to retrieve process's information from /proc/<pid>/status.
More...
#include <Process.h>
This class helps to retrieve process's information from /proc/<pid>/status.
- Note
- Usage:
p.Open( 8007 );
cout << "Name" << p.GetValue( "Name" ) << endl;
cout << "PPid" << p.GetValue( "PPid" ) << endl;
p.Open( 1 );
cout << "Name" << p.GetValue( "Name" ) << endl;
cout << "PPid" << p.GetValue( "PPid" ) << endl;
◆ CProcStatus()
dds::misc::CProcStatus::CProcStatus |
( |
| ) |
|
|
inline |
◆ ~CProcStatus()
dds::misc::CProcStatus::~CProcStatus |
( |
| ) |
|
|
inline |
◆ GetValue()
std::string dds::misc::CProcStatus::GetValue |
( |
const std::string & |
_KeyName | ) |
const |
|
inline |
◆ Open()
void dds::misc::CProcStatus::Open |
( |
pid_t |
_PId | ) |
|
|
inline |
The documentation for this class was generated from the following file: