You are not logged in.

#1 2015-09-04 11:36:25

edoz90
Member
Registered: 2015-09-02
Posts: 7

[SOLVED] personalize screen

Hi!! smile

I'm using screen to ssh into some systems and I'd like to know if there's a way to display network and memory (hdd and RAM) usage in hardstatus and show only the current load of the system (instead of the %l that I use now).

EDIT: It would be nice to display also the current CPU temp big_smile

Thanks!

Last edited by edoz90 (2015-09-04 13:23:47)

Offline

#2 2015-09-04 11:42:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] personalize screen

Yes, it certainly is.  What have you tried so far?  There are countless examples all over the web, and the documentation provides all the options available:

https://bbs.archlinux.org/viewtopic.php?id=55618
http://www.softpanorama.org/Utilities/S … ples.shtml
http://www.delorie.com/gnu/docs/screen/screen_5.html

mod note: not a sys admin issue.  Moving to N.C.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-09-04 12:23:06

edoz90
Member
Registered: 2015-09-02
Posts: 7

Re: [SOLVED] personalize screen

oh!! I've missed the 'backtick' command! big_smile
That's what I need!!!! Thanks!!!

My old screen:
http://edoardorosa.it/misc/screen.png

My new screen:
http://edoardorosa.it/misc/newscreen.png

backtick 1 60 60 $HOME/.screensh/temp
backtick 2 60 60 $HOME/.screensh/mem
backtick 3 60 60 $HOME/.screensh/cpu

hardstatus alwayslastline '%{= dg}%{R}{-%{G}%H %{W}> %{B}%D %d %M %c:%s %{w}< %{r}Mem: %2` %=%?%{d}%-w%?%{y}[%{d}%n %t%? {%u} %?%{y}]%{d}%?%+w%?%=  %{y}%1`%{w} < %{Y}%3`%{R}-}'

Last edited by edoz90 (2015-09-04 13:23:21)

Offline

#4 2015-09-04 12:47:40

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,405
Website

Re: [SOLVED] personalize screen

Please don't embed large images into your posts, use url tags instead.

Please share your solution here and marked the thread as solved.

https://wiki.archlinux.org/index.php/Fo … s_and_code
https://wiki.archlinux.org/index.php/Fo … way_street


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB