HowTo open a terminal for output in Debian11 Gnome?
1 Attachment(s)
Hello,
I created an icon on my gnome desktop which start the script below: showing the RAM usage. So far after clicking the icon, a window open but there is a message coming up: I have to click 3x time on "restart" = "Erneut starten" before I could see the message "RAM usage..". (see attachment) because it is probably hidden behind the message "Der Kindprozess..". Any proposal HowTo delete this message "Der Kindprozess.." is welcome. Code:
#! /bin/bash |
I would just use Terminal=True in my desktop shortcut and then instead starting another terminal I would use:
Quote:
However, to fix your problem: Code:
gnome-terminal --geometry=50x10 -- bash -c "echo 'RAM usage is above $THRESHOLD% - Current usage: $RAM%'; exec bash" |
Outstanding proposal.
My last improved version is below: - click on an icon on the gnome desktop (which execute this script; .desktop file in the bottom of the message), - a window pop up, - it stay open for 30s, - then it goes alone away (no need to close or further act). executable script check_ram.sh Quote:
Quote:
UPDATE (added: indication of the used swap in a new line) Quote:
|
All times are GMT -5. The time now is 06:52 PM. |