skip to content
[readonly]

The control port's load request: this machine's load and every program's, as key value lines

sh
$ sexc add @ajax/mesh-load-text
  • total 3
  • drwxr-xr-x-../
  • drwxr-xr-x-Oct 27 05:23v/# 1 version
  • drwxr-xr-x-Oct 27 05:23files/# the files of 0.1.0
latest
0.1.0, published Oct 27 05:23 by ajax
owners
ajax
license
MIT
dependencies
@ajax/mesh-shared ^0.1.0, @ajax/mesh-prog-table ^0.1.0, @ajax/mesh-abi ^0.1.0, @ajax/mesh-buf ^0.1.0, @ajax/mesh-rsfmt ^0.1.0, @ajax/mesh-manifest ^0.1.0, @ajax/mesh-manifest-encode ^0.1.0, @ajax/mesh-check ^0.1.0
dependents
@ajax/mesh-control
keywords
mesh alphaos load telemetry control
homepage
https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-load-text
repository
https://github.com/thomasdavis/alpha-c-mesh
==> README.md <==
1# @ajax/mesh-load-text
2
3The control port's load request: this machine's load and every program's, as key value lines.
4
5The control port's `load` request (load.rs `text`): this machine's load (GPU share, CPUs by class, PSI, memory, meshd, the CPU executors, disk, thermal) and each loaded program's, as `key value` lines, read from the host status block the load sampler fills.
6
7```c
8#include "mesh/load_text.h"
9```
10
11## Ported from
12
13[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/load.rs: `text`.
14
15## Tests
16
17- `tests/load_text.c`: the text of an empty sample, and of a machine (GPU share, cores, PSI) and a wasm program with figures.
18
19## Licence
20
21MIT. See the repository's LICENSE.