Integrate the Design Creations license and refine the monitor

This commit is contained in:
2026-11-26 21:46:52 -06:00
parent d2f8550111
commit 8079bf0ca6
51 changed files with 989 additions and 42 deletions

View File

@@ -1,9 +1,19 @@
# Adaptive Resource Monitor
# Original developer: Sonja M Thomas
# Copyright 2010-2026 SLT Design Creations, LLC
# Licensed under the Design Creations Attribution-NonCommercial-ShareAlike License v1.0.
# See LICENSE.md for complete license terms.
# https://www.designcreations.us/
# The client sends a single dot for each observation over the existing channel.
export LC_ALL=C
os=$(uname -sr)
nvidia=$(command -v nvidia-smi || :)
sample() {
printf '@arm-begin\nos\t%s\n' "$os"
if read -r uptime _ < /proc/uptime; then
printf 'uptime\t%s\n' "$uptime"
fi
while read -r name value; do
case "$name" in
cpu|cpu[0-9]*) printf 'cpu\t%s\t%s\n' "$name" "$value";;