1
vote
1answer
61 views

Process killed on ssh disconnect despite screen/nohup

I am facing a rather strange situation: ssh to a beaglebone (details : uname -a = "Linux beaglebone 3.2.34 #1 Wed Nov 21 14:17:11 CET 2012 armv7l GNU/Linux", ssh server : Dropbear sshd v2012.55) ...
1
vote
1answer
117 views

Why “php x.php &” leads to a STOPPED background process

x.php: <?php sleep(15); ?> console: $ php x.php & [1] 5742 [1]+ Stopped x.php Result: a "STOPPED" process - it's there forever until I send a TERM and then CONT ...
2
votes
0answers
117 views

How to use a key binding within shell script ? (Launch terminator in broadcast mode in background)

I currently use a small shell script to start a terminator window as a background process which has multiple splits specified with a layout. terminator --layout=My_layout & I want to execute a ...
0
votes
1answer
59 views

How to execute a script 20 at a time with different variables at a time in parallel?

I am trying to run 20 files at a time, using warc.sh or a better way to put it is 20 instances of warc.sh at a time with directory contents as the input. I am also trying to watch the PIDs in case bad ...
3
votes
1answer
625 views

What exactly determines if a backgrounded job is killed when the shell is exited, or killed?

This question has come up quite a lot (really a lot), but I'm finding the answers to be generally incomplete. The general question is "Why does/doesn't my job get killed when I exit/kill ssh?", and ...
2
votes
4answers
4k views

Continue SSH background task/jobs when closing SSH

I have the same question as here but even beyond that. If I logout/exit the SSH connection, I need my program running in background. Before exit, I type bg and jobs to check background running task, ...
4
votes
2answers
189 views

Running find and xargs in background

I want to run this command in background because the process could take a long time. How can I send it to a background process? find /tmp/ -type f -mtime +3 | xargs rm -Rf This does not work: find ...
1
vote
2answers
3k views

`jobs` command doesn't show any background processes

When I was in the office using my desktop, I started a script run.sh in background 4 times. run.sh parameter1 & run.sh parameter2 & run.sh parameter3 & run.sh parameter4 & Then I ...
0
votes
1answer
31 views

Linux command for creating/leaving/returning to shells

I was using a command a long time ago to manage my background processes and I can't remember wich one. I had to install it. I could create a shell and go into it Run a process Leave the shell with ...
3
votes
1answer
799 views

Prevent an already running background process from being stopped after closing SSH client

I have a process running on my Linux machine (Debian squeeze) that takes hours (or days) to finish. I don't want to stop it to restart it again with screen, tmux or with an output redirect to nohup. ...
1
vote
2answers
141 views

How to resume simulations running in background

I am running long-term transient simulations on a server. For making them to run in background, I use the command nohup from the netlist folder of the corresponding schematic. Tonight they got ...
1
vote
2answers
55 views

nasty process hogging my shell

While for most of the processes started from shell I can grab my shell back from them with a sequence of Ctrl-z and bg, it seems that some won't allow me back in control in the case of, e.g., mysqld. ...
0
votes
2answers
340 views

“pull” process/job into the background

I know of terminating a command with & and then moving it into the background by pressing Ctrl-Z and then bg [pid], and I also know of nohup. But say you started a process that turned out to take ...