Logo ProcessKit API Reference

MemberInfo Type

An enriched, point-in-time snapshot of one member of a `ProcessGroup` (see `ProcessGroup.MembersInfo`). `Pid` is always present — it is how the group enumerated the member; every other field is `option` and is `None` wherever the platform cannot honestly report it, never a fabricated value. The member's **command line and environment are deliberately absent on every platform** — argv routinely carries secrets and redaction/hashing is the consumer's policy, so this snapshot excludes them by construction, the same exclusion the logging / tracing / metrics paths enforce. Sealed with an internal constructor so it can gain fields without breaking the frozen API.

Instance members

Instance member Description

this.ExeName

Full Usage: this.ExeName

Returns: string option

The member's executable image name — a base name, never a full argv (Windows: the process snapshot's image file name, e.g. `node.exe`; Linux: the `/proc` `comm`, truncated to ~15 chars; macOS: `proc_pidinfo`'s command name). `None` where the platform cannot report it.

Returns: string option

this.Pid

Full Usage: this.Pid

Returns: int

The member's process id. Always present.

Returns: int

this.Ppid

Full Usage: this.Ppid

Returns: int option

The member's parent process id, when the platform can report it (Windows: the process snapshot's parent id; Linux: `/proc//stat`; macOS: `proc_pidinfo`). `None` where no reader is available (a BSD other than macOS) or the value could not be parsed.

Returns: int option

this.StartTime

Full Usage: this.StartTime

Returns: DateTime option

The member's OS-reported start time (`System.Diagnostics.Process.StartTime`, local kind). `None` when the process exited before this read, or the start time is inaccessible on this platform/timing.

Returns: DateTime option

Type something to start searching.