Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #400048

Re: i did not know that

From Jan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Newsgroups sci.electronics.design
Subject Re: i did not know that
Date 2016-02-23 14:23 +0000
Organization Datemas.de http://www.news.datemas.de
Message-ID <nahq14$s6f$1@news.datemas.de> (permalink)
References <nah8r3$uk5$1@news.datemas.de> <wRVyy.1061971$Wj7.220934@fx33.am4> <nahe5c$81b$1@news.datemas.de> <5PYyy.951625$Mi6.53914@fx35.am4>

Show all headers | View raw


On a sunny day (Tue, 23 Feb 2016 13:06:09 +0000) it happened Tom Gardner
<spamjunk@blueyonder.co.uk> wrote in <5PYyy.951625$Mi6.53914@fx35.am4>:

>I find gkrellm is fine in that respect, even in 6 year old 1.6GHz atom netwooks.
>
>I like its _small_ sufficiently pretty "mimic panel" showing CPU, disk and 
>network activity graphs + text. Many of its "features" I simply turn off.

The main reason for me to run 'sensors' is that I have scripts that parse it
and can take all sort of actions, including 'poweroff' and remote messaging, SMS, anything.
I wrote it here before, spend 6 hours coding a GUI for something I can do in one line in bash.

Run this script in the background and it will power down the PC if the CPU gets above 60 C:

let limit=60 

while [ 1 ]
do                                                              
        temp=ensors | awk /"CPU Temperature:"/'{print int($3) }'
##      echo "CPU temperature = $temp"

        if [ $temp -gt $limit ]
        then
            echo "powering down system"
# uncomment this line ;-), type poweroff to see what it does, and try it when you are ssh to to your remote server too, buy a return ticket.
###         poweroff
        fi
      sleep 1
done

>> Those programs run in a virtual desktop (I use nine virtual desktops),
>> so normally these are not in the way, but visible on the click of a mouse, or just ctrl cursor key to that desktop.
>> There is more in that desktop, so as global climate control^H^H^H^H^H^H^H^H^H^H well you get the idea.
>> I do everything from rxvts, keyboard, just X.
>> No kde or gnome here.
>
>Nor here. But I do allow myself the unobtrusive luxury of Xfce.

Yea, I run fvwm (the old version), and xfm as file manager in one desktop, so some pictures for if you forgot the program name.
Browser Seamonkey usually is on too, and my newsreader NewsFlex.
And a thousand scripts like the one above, plus the usual top secret stuff.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

i did not know that Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-23 09:30 +0000
  Re: i did not know that Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-02-23 09:43 +0000
    Re: i did not know that Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-23 11:00 +0000
      Re: i did not know that Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-02-23 13:06 +0000
        Re: i did not know that Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-23 14:23 +0000
          Re: i did not know that Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-02-23 14:58 +0000
          Re: i did not know that Klaus Kragelund <klauskvik@hotmail.com> - 2016-02-24 15:24 -0800
            Re: i did not know that Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-25 08:46 +0000
  Re: i did not know that Johann Klammer <klammerj@NOSPAM.a1.net> - 2016-02-23 13:51 +0100
    Re: i did not know that Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-23 14:32 +0000
  Re: i did not know that Jasen Betts <jasen@xnet.co.nz> - 2016-02-24 10:37 +0000
    Re: i did not know that Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-24 13:03 +0000
    Re: i did not know that Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-24 19:01 +0000
    Re: i did not know that dplatt@coop.radagast.org (Dave Platt) - 2016-02-24 14:29 -0800

csiph-web