From e61da07522a060da98fa3a56db3d0360469b26cf Mon Sep 17 00:00:00 2001 From: auric <104602845+ihateamongus@users.noreply.github.com> Date: Mon, 8 Sep 2025 21:19:14 -0500 Subject: organize repository layout --- archive/breathing-exo-daemon/v4-clean-shm/loadtest.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 archive/breathing-exo-daemon/v4-clean-shm/loadtest.c (limited to 'archive/breathing-exo-daemon/v4-clean-shm/loadtest.c') diff --git a/archive/breathing-exo-daemon/v4-clean-shm/loadtest.c b/archive/breathing-exo-daemon/v4-clean-shm/loadtest.c new file mode 100644 index 0000000..8cb3162 --- /dev/null +++ b/archive/breathing-exo-daemon/v4-clean-shm/loadtest.c @@ -0,0 +1,10 @@ +#include +#include +#define _GNU_SOURCE +int main() { + double l[3]; + if (getloadavg(l, 3) != -1) + printf("load: %.2f %.2f %.2f\n", l[0], l[1], l[2]); + return 0; +} + -- cgit v1.2.3