Hi,

On Mon, Sep 03, 2007 at 06:44:10PM -0400, cga2000 wrote:
> Is there any way I can display the following on the hard-status line:
> 
> . %RAM used
> . %SWAP used
> . CPU temperature
> . %CPU

I use this:

  backtick 0 10 10 awk '{ printf "%sC", $2 }' 
/proc/acpi/thermal_zone/THM0/temperature

And then use reference %0` in the hardstatusline. I am sure you can figure out
how to parse the other information as well.

        Hannes

-- 
Are you looking for that "friends" stuff from C++ (if I have that
right, unless it was Java <g>). This is Lisp, we just shoot from the
hip and do not worry about that stuff.
        -- Ken Tilton

Attachment: signature.asc
Description: Digital signature

_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to