[][src]Module heim::process

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.

CommandIter

Iterator over process command line arguments.

CpuTime

Accumulated CPU time for specific process.

CpuUsage

Process CPU usage measurement.

IoCounters

Network device I/O counters.

Memory

Memory information about the process.

Process

System process.

Enums

ProcessError

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 Definitions

Pid

Process identifier type.

ProcessResult

A specialized Result type for process-related routines.

Time

Quantity type alias using the default base units.