[][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

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

OS 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.