X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=blobdiff_plain;f=README.md;h=7898bca393dd614a0658dbe73f4493005ae3a12d;hp=62036c9eb2a2a356a80507768e00b262e0623f05;hb=dd2bdef5d2b037d12bba2ba9ec6f3dbebf84fa44;hpb=7daecd248d2531ed281841958525364e3c6d1c4b diff --git a/README.md b/README.md index 62036c9..7898bca 100644 --- a/README.md +++ b/README.md @@ -2,43 +2,20 @@ khatus ====== ![mascot](mascot.jpg) -Experimental, system monitor and status (bar) reporter I use with +Experimental system-monitor and status (bar) reporter I use with [dwm](https://dwm.suckless.org/) on GNU/Linux. -![screenshot](screenshot.jpg) +![screenshot](screenshot.png) +Experiments +----------- +The approaches experimented-with so far (later versions do not _necessarily_ +obsolete earlier ones, they're just different): -Design ------- - -``` - parallel +----------+ +----------+ +----------+ - stateless | sensor_1 | | sensor_2 | ... | sensor_n | - collectors +----------+ +----------+ +----------+ - | | | - data data data - | | | - V V V - serial +-----------------------------------------+ - stateful | controller | - observer +-----------------------------------------+ - | - decisions - | - V - serial +-----------------------------------------+ - stateless | actuator | - executor +-----------------------------------------+ - | - system commands - | - V - ~~~~~~ - ~ OS ~ - ~~~~~~ -``` - -Any errors encountered by any sensor are propagated as alerts by the -controller, which are in turn actualized as desktop notifications by the -actuator: -![screenshot-self-error-propagation](screenshot-self-error-propagation.jpg) +| Name | Status | Language | Tested-on | Description | +|--------|----------|-----------|-------------------------|-------------| +| __x1__ | Archived | Bash, AWK | Ubuntu 16.04 | Single, synchronous script, saving state in text files. | +| __x2__ | Legacy | Bash, AWK | Debian 10, Ubuntu 18.04 | Sensors are child processes, IPC via parent pipe. | +| __x3__ | Archived | OCaml | Debian 10 | Re-write and refinement of __x2__ | +| __x4__ | Archived | Dash, AWK | Debian 10 | Sensors are opaque daemons, cache is a file tree | +| __x5__ | Current | C | Ubuntu 18.04 | Sensors are opaque daemons, IPC via `select`ed FIFOs. |