dot

packages and services management
Log | Files | Refs | README

commit f6d871178283173c868bce9822cd736d8dc997fe
parent 07001f347e4fe98cca109a8c30b37fa0c1fc6b04
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Wed,  2 Aug 2017 06:17:12 +0200

README: Removed obselete README

Diffstat:
DREADME | 24------------------------
Mmonitor/bin/monitor | 4++--
2 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/README b/README @@ -1,24 +0,0 @@ -combined package and service manager, but... - -- no package declaration -- no config file -- no start-stop-daemon(8) - -To download, build, instal and start some 'pkg': - -0. $ package-manager-install git gcc make - $ git clone http://github.com/josuah/etc && cd etc - -1. $ ./DOWNLOAD pkg http -> $SRC (with $PKG/pkg/url) - -2. $ ./BUILD pkg $SRC -> $OPT (with $PKG/pkg/build) - -3. $ ./INSTALL pkg $OPT -> $ROOT - -4. $ ./SERVICE start pkg [args] (with $PKG/pkg/start) - -And then 'pkg' is (hopefully) installed and running. To be sure: - -5. $ ./SERVICE status pkg [words to grep] - -$SRC, $OPT, $ROOT, $PKG and $VAR are set in ./profile diff --git a/monitor/bin/monitor b/monitor/bin/monitor @@ -54,7 +54,7 @@ NR >= 4 { diskio += table[disks[disk]] print host " " date " " mem " " cpu " " load " " diskio " " stor -}' >> "$VAR/stat/now" +}' >> "$VAR/stat/data" # --- plot the results --------------------------------------------------------- @@ -67,7 +67,7 @@ do diskiov="$diskiov $diskio" storv="$storv $stor" done <<EOF -$(tail -n 80 "$VAR/stat/now") +$(tail -n 80 "$VAR/stat/data") EOF o() { printf '\n\n[ %s ]\n\n' "$*"; }