Skip to main content

Module action

Module action 

Source
Expand description

Process actions.

core never performs a side effect directly: it produces an Action that the front end executes, so the same logic can be unit-tested and dry-run.

Structs§

IoPriority
An I/O priority: a class plus a 0..=7 level within that class.
ProcessTarget
A process incarnation, not just a recyclable PID.

Enums§

Action
IoClass
I/O scheduling class, as Linux’s ioprio_set understands it.

Constants§

SIGNALS
Signals offered by the signal picker, in the order htop shows them.

Functions§

execute
Executes actions against the real system.
execute_checked
Execute against the sampled incarnation. Linux signals use a pidfd when available; priority changes and other platforms verify immediately before use.
ioprio_get
Read a process’s I/O priority.
ioprio_set
ioprio_supported
Whether this build can read and set I/O priority.