Expand description
Get information about processes using mainly the pid
Get basic information about processes by PID
Structs§
- Struct for List of Threads
Enums§
- The
PidInfo
enum contains a piece of information about a processes - An enum used to specify what type of information about a process is referenced See http://opensource.apple.com/source/xnu/xnu-1504.7.4/bsd/kern/proc_info.c
- The
ProcType
type. Used to specify what type of processes you are interested in in other calls, such aslistpids
.
Traits§
- The
ListPIDInfo
trait is needed for polymorphism on listpidinfo types, also abstracting flavor in order to provide type-guaranteed flavor correctness - The
PIDInfo
trait is needed for polymorphism on pidinfo types, also abstracting flavor in order to provide type-guaranteed flavor correctness
Functions§
- Return true if the calling process is being run by the root user, false otherwise
- Gets path of current working directory for the current process.
- listpidsDeprecatedReturns the PIDs of the active processes that match the
proc_types
parameter - Get the name of a process, using it’s process id (pid)
- Gets the path of current working directory for the process with the provided pid.
- Get the path of the executable file being run for a process