Processes

final class ntoseye.Processes

The running processes, with their PIDs as keys (dbg.processes). Each iteration reads the process list again, and find(name) matches image names. A ProcessInfo record (stop.process) is a key too: it names the listed process it describes.

__contains__(key: Any, /) → bool
__getitem__(key: int | ProcessInfo, /) → Process

The process with a PID, or the process a ProcessInfo record describes (dbg.processes[stop.process]).

__iter__() → Iterator[Process]
__len__() → int
find(name: str) → list[Process]

The processes whose image name is an exact match, ignoring case.

get(key: int | ProcessInfo) → Process | None

The process with a PID, or the process a ProcessInfo record describes (dbg.processes[stop.process]).