Questions tagged [gnu-screen]

GNU Screen is a software application that can be used to multiplex several virtual consoles.

GNU Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.

310 questions
0
votes
2 answers

Quitting Screens With Same Name With SSH

I have a server, with a few screens started. This is what shows when I use screen -ls: There are screens on: 12811.screen (Detached) 2061.screen (Detached) 7055.screen (Detached) 11746.screen (Detached) 11740.realscreen …
Runner
  • 23
  • 4
0
votes
1 answer

screen, expect and scripted detached interaction

Trying to write a bash script which will open a screen, start a python application, and interact with the python interaction as required when it is first started. If not possible in screen, I would be happy to switch to tmux as an alternative. I am…
johnnygear
  • 83
  • 1
  • 2
  • 8
0
votes
1 answer

Can't redirect STDERR or STDOUT to file

I have application written in Go language and it runs in screen (I do not think problem relates to Go language. I believe it uses STDOUT and STDERR) screen -S log_server -d -m go run log_server.go 2 > err3.txt 1 > std3.txt When it crashes I get…
Max
  • 133
  • 1
  • 7
0
votes
2 answers

Is there a way to watch all screens output in a single place?

having about 12 screens running long processes, I am willing to check out the state from time to time. I would like to "tail -f " them all in a single console window so I don't have to switch between them every now and then. Processes are running…
Tzury Bar Yochay
  • 727
  • 11
  • 24
0
votes
3 answers

How to watch other console without notification?

I want to see what is freelance admin doing to my server. But all solutions i have found - screen, conspy, vnc does't met my needs. Conspy is great but i have to ask free-lancer to run it first to see what is happening. I want to connect into other…
barraba
  • 35
  • 1
  • 1
  • 7
0
votes
1 answer

Get the session name of a parent gnu screen

I know that the current session name can be accessed with the $STY environment variable, is there a way to get the session name of the parent screen session in case of nested screens?
gregseth
  • 193
  • 2
  • 8
0
votes
1 answer

Crontab start a screen

I started a screen by shell script in crontab, when I entered the screen, the left side became "sh-4.1#". While I runed the script directly, it was nomal with "[root@localhost data]". What happened? Shell script: #!/bin/bash cd…
Brighter
  • 3
  • 2
0
votes
4 answers

Redirect Cronjob output to an running screen session?

Is it possible to start a screen session, set up an cronjob, and redirect the cronjob's output to the screen session? Would be great to follow the programm's output ;-) Greetings....
Max
  • 465
  • 2
  • 6
  • 11
0
votes
2 answers

Get screen window title

I'm looking for a way to get the current window title in GNU screen . I have a script that use screen -X title something to change the window title when running and I would like to set it back to it's previous value at the end of the script.
radius
  • 9,633
  • 25
  • 45
0
votes
3 answers

How/What RC level to use to start a screen with Display attached.

Some times, after a reboot, some of my apps that have a GUI close. These apps provide web interface as well, but only if their gui potion is open. If the unit is physically available to me, I can start a screen with the screen command, detach from…
user1048138
  • 135
  • 2
  • 2
  • 7
0
votes
1 answer

Detach current session and attach to another session, done with one script, can I?

After reading the vague official doc of GNU screen( http://www.gnu.org/software/screen/manual/screen.html ) and asking quite some questions at this site. I still cannot figure out how to accomplish such a task with a shell script. This task costs…
Jimm Chen
  • 1,749
  • 5
  • 18
  • 32
0
votes
1 answer

Discerning which GNU screen window is being used in a shell script

Using a shell script, how can you tell if a screen is running using shell scripts? For example, using pseudocode: IF (screen.screenname.running == TRUE) or something like that.
Gray Adams
  • 165
  • 7
0
votes
3 answers

How to get screen command to indicate what screen you're looking at for ubuntu servers?

When I use the screen command in red hat it lists what screen I'm looking at in putty However when I use the screen command in ubuntu 10.04 it doesn't list what screen I'm looking at in putty. Is there any way I can configure ubuntu 10.04 or putty…
user784637
  • 1,542
  • 7
  • 35
  • 52
0
votes
2 answers

Creating a backup script involving screens and java?

Hi guys I use centOS 64bit 5.7 and I need to create a backup script What I want it to do: screen -r example command into java pause for x amount of seconds exit screen zip/rar a folder which and put a timestamp on the name (with date) and move it…
0
votes
2 answers

Using PHP to restart a process running within a screen

I have some server software running within a screen on a Linux (Debian if that matters) server. Every now and then I need to input some commands to the process so I want to keep it in the screen for easy access. (Also for viewing its latest output…
Accatyyc
  • 485
  • 1
  • 4
  • 6