Expand description
System processes information.
This module is enabled with the process
feature flag (enabled by default).
Modules§
- os
- OS-specific extensions.
Structs§
- Command
- Process command line.
- Command
Iter - Iterator over process command line arguments.
- CpuTime
- Accumulated CPU time for specific process.
- CpuUsage
- Process CPU usage measurement.
- Memory
- Memory information about the process.
- Process
- System process.
Enums§
- Process
Error - Error which might happen during the process information fetching.
- Status
- Process status.
Functions§
- current
- Returns the
Process
matching the currently running program. - get
- Load the process information with
pid
given. - pid_
exists - Returns future which checks if process with passed
pid
is exists. - pids
- Returns stream which yields Pids of processes currently running in the system.
- processes
- Returns stream which yields currently running processes.
Type Aliases§
- Pid
- Process identifier type.
- Process
Result - A specialized
Result
type for process-related routines. - Time
Quantity
type alias using the default base units.