X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=README.md;h=d74a10b83cfd9db96510c2ce05bae927dfebccf9;hb=4c703fadbdc17d1753d16841582636598f862416;hp=62036c9eb2a2a356a80507768e00b262e0623f05;hpb=7daecd248d2531ed281841958525364e3c6d1c4b;p=khatus.git diff --git a/README.md b/README.md index 62036c9..d74a10b 100644 --- a/README.md +++ b/README.md @@ -2,43 +2,21 @@ 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) +The approaches experimented-with so far, numbered in chronological order of +origin (i.e. later versions do not _necessarily_ obsolete earlier ones, they're +just different): -Design ------- +### v1 +A single, synchronous script, saving state in text files (Bash and AWK). -``` - 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 ~ - ~~~~~~ -``` +### v2 +Parallel processes: collectors, cacher and reporters; passing messages over pipes +(Bash and AWK). -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) +### v3 +Clean-up, polish and further development of main ideas learned in v2.