From e5784aae9b16d49c53a3e44cb097ddfc6d9e00b0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 13 Jun 2016 12:05:19 +0100 Subject: [PATCH] xloadt from mariner --- scripts/xloadt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/xloadt diff --git a/scripts/xloadt b/scripts/xloadt new file mode 100755 index 0000000..a5eaf1b --- /dev/null +++ b/scripts/xloadt @@ -0,0 +1,6 @@ +#!/bin/sh - +hostname="`hostname | sed -e 's/\..*//'`" +xlsclients | egrep \ + '[^ ]* xload -geometry [^ ]* -title '"'xload - $hostname'" \ + >/dev/null && exit 0 +xload -geometry 120x120+20+0 -title "xload - $hostname" -- 2.30.2