Entropy.Sanctuary.Census (Entropy v0.1.0)

View Source

Maintains the registry of valid victim processes.

The Census queries the runtime for process information and filters candidates based on the target_applications configuration.

Filtering Logic

  1. Retrieves the global process list.
  2. Resolves the application associated with each PID.
  3. Discards PIDs belonging to applications not in the allowlist (if an allowlist is configured).
  4. Stores the resulting PID set for high-frequency access by the Scheduler.

Summary

Functions

Returns a specification to start this module under a supervisor.

Returns a Tuple of all process PIDs currently on the node.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_candidates()

Returns a Tuple of all process PIDs currently on the node.

start_link(_)