archivebox.machine.detect
Module Contents
Functions
Cheap OS counters for the background progress sampler, never a request probe. |
|
Data
API
- archivebox.machine.detect.get_live_system_stats(data_dir: pathlib.Path) dict[str, Any][source]
Cheap OS counters for the background progress sampler, never a request probe.
No process walk, subprocess, archive traversal, blocking CPU sample, or writes. I/O rates are deltas between samples; their first observation is unknown. Host counters are labelled as such; container RAM headroom is also reported.
- archivebox.machine.detect._run_abxpkg_host_binary(name: str, *args: str) subprocess.CompletedProcess[str][source]