Represents the details of a process that is running on this machine.
More...
#include <Process.hpp>
Represents the details of a process that is running on this machine.
◆ getProcessInfo()
static Error rstudio::launcher_plugins::system::process::ProcessInfo::getProcessInfo |
( |
pid_t |
in_pid, |
|
|
ProcessInfo & |
out_info |
|
) |
| |
|
static |
Gets the process information for the process with the specified PID.
- Parameters
-
in_pid | The PID of the process for which to retrieve the details. |
out_info | The details of the specified process, if no error occurs. |
- Returns
- Success if the process information could be retrieved; Error otherwise.
◆ Arguments
std::vector<std::string> rstudio::launcher_plugins::system::process::ProcessInfo::Arguments |
The arguments that were passed to the process.
◆ Executable
std::string rstudio::launcher_plugins::system::process::ProcessInfo::Executable |
The executable that was run.
◆ Owner
User rstudio::launcher_plugins::system::process::ProcessInfo::Owner |
◆ PGrp
pid_t rstudio::launcher_plugins::system::process::ProcessInfo::PGrp |
The process group ID of the process.
◆ Pid
pid_t rstudio::launcher_plugins::system::process::ProcessInfo::Pid |
◆ PPid
pid_t rstudio::launcher_plugins::system::process::ProcessInfo::PPid |
The PID of the process' parent process.
◆ State
std::string rstudio::launcher_plugins::system::process::ProcessInfo::State |
The current state of the process.
The documentation for this struct was generated from the following file:
- /var/lib/jenkins/workspace/IDE/launcher-plugin-sdk/master/sdk/include/system/Process.hpp