RSC
0.13.4
|
#include "ProcessInfo.h"
#include <sys/types.h>
#include <pwd.h>
#include <unistd.h>
#include <boost/date_time/posix_time/posix_time.hpp>
Go to the source code of this file.
Namespaces | |
rsc | |
rsc::os | |
Functions | |
PID | rsc::os::currentProcessId () |
Return the id the current process. More... | |
std::string | rsc::os::getProgramName (PID pid) |
Return the name of the program executed in the process designated by pid. More... | |
std::string | rsc::os::currentProgramName () |
Return the name of the program executed in the current process. More... | |
std::vector< std::string > | rsc::os::getCommandlineArguments (PID pid) |
Return the list of commandline arguments of the process designated by pid. More... | |
std::vector< std::string > | rsc::os::currentCommandlineArguments () |
Return the list of commandline arguments of the current process. More... | |
std::string | rsc::os::getExecutablePath (PID pid) |
Return the absolute path of the executable file that is executed in the process designated by pid. More... | |
std::string | rsc::os::currentExecutablePath () |
Return the absolute path of the executable file that is executed in the current process. More... | |
boost::posix_time::ptime | rsc::os::getProcessStartTime (PID pid) |
Return the start time of the process designated by pid. More... | |
boost::posix_time::ptime | rsc::os::currentProcessStartTime () |
Return the start time of the current process. More... | |
std::string | rsc::os::getExecutingUser (PID pid) |
Return login- or account-name of the user executing pid. More... | |
std::string | rsc::os::currentExecutingUser () |
Return the login- or account-name of the user executing the current process. More... | |