Struct pentry::Process
[−]
[src]
pub struct Process {
// some fields omitted
}Basic Process Object.
Methods
impl Process[src]
fn pid(&self) -> i32
Get Process ID.
fn ppid(&self) -> i32
Get Parent Process ID.
fn name(&self) -> &str
Get Process Name. This value maybe program name.
fn path(&self) -> Option<&str>
Get Full file path of program if provided.
fn parent(&self) -> Result<Process, Problem>
Get Parent Process Object.