PidMap

Undocumented in source.

Members

Functions

empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
get
Pid get(RawPid p)
Undocumented in source. Be warned that the author may not have intended to support it.
getChildren
RawPid[] getChildren(RawPid p)
Undocumented in source. Be warned that the author may not have intended to support it.
getProc
string getProc(RawPid p)
Undocumented in source. Be warned that the author may not have intended to support it.
getStat
Stat getStat(RawPid p)
Undocumented in source. Be warned that the author may not have intended to support it.
getSubMap
PidMap getSubMap(RawPid p)
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
pids
auto pids()
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(Pid p)
Undocumented in source. Be warned that the author may not have intended to support it.
putChild
void putChild(RawPid parent, RawPid child)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
PidMap remove(RawPid p)

Remove PID p from the map.

removeUser
PidMap removeUser(uid_t uid)

Remove all PIDs owned by the user uid.

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(Writer w)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Pid
struct Pid
Undocumented in source.
Stat
struct Stat
Undocumented in source.

Variables

children
RawPid[][RawPid] children;

The children a process has

parent
RawPid[RawPid] parent;

the parent of a process

proc
string[RawPid] proc;

The executable of a pid

stat
Stat[RawPid] stat;
Undocumented in source.

Meta