My problem is pretty much as the title describes it. I am running ssh session and on my server I screen for multitasking. My issue here is that I have at least 4 screens open and detached, but screen -r connects only the the last screen I have…
I really like the monitoring function in screen c-M and c-_ but whenever an event happens (or doesn't happen if c-_) on a screen I am monitoring the message doesn't go to the hard status line I have.
What I really want, yet have no idea how to do,…
For a long running script we are using screen to be able to close the ssh session without stopping the script.
Screen, however, keeps saving the output which is resulting in a very high diskio.
My question: how can I start a screen session which…
I'm trying to use docker attach to attach to curses-based graphical process:
$ docker run --name irssi -it pandrew/irssi irssi
When you detach from this process using ^P^Q and reattach with docker attach irssi it looks like nothing happened. But,…
I want to start a shell script in detached mode on ubuntu bootup (via cronjob @reboot) but it doesn't even work when I try it directly.
Syntax:
screen -d -m -S myscreenname /path/to/my/script.sh
There is no feedback at all and no screen is being…
The only 2 lines in my ~/.screenrc are:
termcapinfo xterm* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
hardstatus string "%h [screen %n%?: %t%?]"
In GNU screen version 4.0.3 that I used previously, it set the hardstatus to be in the window title to…
Just logged back into a server and reconnected to an existing screen using screen -R. I had completely forgotten that I'd used sudo su - earlier and had not exited afterwards, so when I reconnected via screen I was back in as root!
Is there any way…
screen -dmS SIEGE_01
sleep 1
screen -S SIEGE_01 -X stuff "cd /home/ss12036/ImpulseNetwork/Servers/SIEGE_01/"`echo -ne '\015'`
sleep 1
screen -S SIEGE_01 -X stuff "sh Start.sh"`echo -ne '\015'`
There is my code. This is a sh script that will be…
If I execute the following in the terminal it works:
screen -dmS tt-rss-daemon sudo -u www-data /usr/bin/php /usr/share/nginx/www/tt-rss/update.php --feeds --daemon
If I write the following in a Crontab (crontab -e) and restart the machine nothing…
I'm trying to send to the background "bitcoind".
$ screen bitcoind -daemon &
[1] 5289
Then I query for this process PID and the PID have changed
$ ps -ef | grep bitcoin
someuser 4003 1 14 16:16 ? 00:00:39 bitcoind -daemon
someuser …
I've run into the problem where I have users logging in to servers under customer accounts, opening a screen session as that user, and then never closing it. Ordinarily this wouldn't be much of a concern, however we're running into an issue where if…
I have a minecraft server running in screen, and right now, it is just a script that starts java like so:
screen -dmS mc java -Xincgc -Xms1024M -jar craftbukkit-1.6.4-b2882.jar
Basically this just starts minecraft in a screen container in the…
I was wondering if there is a way to make screen display a message to a user when they attach to a screen session? For instance, if it is preferred that a user does not use a shared screen session for their personal activities "Please do not use…
I'm looking over a script that would actually be restarting game-servers in case they crash. The game-servers are actually started in a screen session through a control panel. They have to be restarted by killing their respective screen session and…
I am a newbie in shell scripting and want to use the screen command to automate the below scenario:
Create a screen session1 and execute a shell script1
create another screen session2 and execute another shell script2, and if this result is success…