chiark / gitweb /
Found xloadt.
authorian <ian>
Thu, 19 Jul 2001 20:07:48 +0000 (20:07 +0000)
committerian <ian>
Thu, 19 Jul 2001 20:07:48 +0000 (20:07 +0000)
files/personal_scripts_bin_xloadt [new file with mode: 0755]

diff --git a/files/personal_scripts_bin_xloadt b/files/personal_scripts_bin_xloadt
new file mode 100755 (executable)
index 0000000..861a76c
--- /dev/null
@@ -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+302+0 -title "xload - $hostname"