Builing with stack is recommended:
$ git clone https://github.com/Arguggi/Frinfo.git
$ cd Frinfo
$ stack build
The output of frinfo
is meant to be piped to dzen:
$ frinfo | dzen2
To see which features are available:
$ frinfo --help
Frinfo
only works on linux
since it reads system info from /proc/
files.
Frinfo
is mostly a learning excercise. It builds up a data structure using the Free
monad which is then interpreted and printed.
Since some statistics need to average the current state with a previous state the
StateT
monad transformer is used to eliminate some boilerplate.
Don't expect particularly idiomatic Haskell code, this is also still a WIP.