Sysk architecture
Design notes on Sysk, a small system health monitor.
Intro
Sysk is a command-line system health monitor built in Bash and Python.
Bash collects machine data, handles flags, and drives the user interface. Python runs the inference and decision engines.
This article records the design of v1: what the system does, which decisions shaped it, and where those decisions cost something.
System design
The pipeline is four stages:
collect --> infer --> decide --> print
v1 collects data across five modules:
cpu
disk
memory
thermal
sound
Each module presented a different reading problem. The rest of the article follows the pipeline above.
1. Data collection (Bash)
Decision 1: read kernel files instead of running helper programs
The main collection decision was to read kernel-exported files rather than treat programs such as top or free as the source of truth.
Advantages
fewer extra binaries, s
Discussion
Take the lead—comment now
Lead the way—your insights can inspire others.