proc.pid

Members

Functions

filterBy
PidMap filterBy(PidMap pmap, uid_t uid)
filterByCurrentUser
PidMap filterByCurrentUser(PidMap pmap)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
RawPid[] kill(PidMap pmap, Flag!"onlyCurrentUser" user, int signal)

Kill all pids in the map.

makePidMap
PidMap makePidMap()
Undocumented in source. Be warned that the author may not have intended to support it.
makeTestPidMap
auto makeTestPidMap(int nodes)
Undocumented in source. Be warned that the author may not have intended to support it.
reap
void reap(RawPid[] pids)

Reap all pids by calling wait on them.

splitToSubMaps
Tuple!(PidMap, "map", RawPid, "root")[] splitToSubMaps(PidMap pmap)

Split a PidMap so each map have one top pid as the root.

toTreeString
string toTreeString(PidMap pmap)

Pretty format PidMap as a tree

toTreeString
void toTreeString(PidMap pmap, Writer w)

Pretty format PidMap as a tree

updateProc
void updateProc(PidMap pmap)

Update the executable of all pids in the map

Structs

PidMap
struct PidMap
Undocumented in source.
RawPid
struct RawPid
Undocumented in source.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)