code wiki / _hdl_build / nx_sysload.nx
nx_sysload.nx
buildroot/runtime/_hdl_build/nx_sysload.nx
about
nx_sysload.nx -- sovereign host-resource readers (/proc) so the governor senses the REAL system it runs
on (operator: "without overwhelming this system or any system they are on"). Reads load average, CPU
count, and available memory. license_tier: ORIGINAL Feeds nx_resource_governor.
dependencies 1 imports · 8 importers
imports: nx_syscalls.nx
imported by: nx_governed_autoloop.nxnx_governed_pulse.nxnx_polite_daemon.nxnx_polite_loop.nxnx_resource_prove.nxnx_selfbuild_governed.nxnx_team_console.nxnx_unified_conductor.nx
structs
| none |
consts
| 6 | const K_MAGIC_1024: i64 = 1024 |
functions
| 9 | func sl_count_substr(buf: *u8, n: i64, needle: *u8, nl: i64) -> i64 |
| 20 | func sl_loadavg_milli() -> i64 |
| 46 | func sl_ncpu() -> i64 |
| 59 | func sl_active_conns_8443() -> i64 |
| 69 | func sl_freemem_mb() -> i64 |