We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [job-control]

The management of concurrent processes via a "main" process/method.

Filter by
Sorted by
Tagged with
37
votes
7answers
38k views

What is a zombie process and how do I kill it?

Virtual Shotguns?
35
votes
6answers
23k views

Bash Loop - How to stop the loop when I press Control-C inside a command?

I am rsyncing a few directories. I have a bash terminal open and am executing something like this: for DIR in * ; do rsync -a $DIR example.com:somewhere/ ; done However if I want to stop the whole ...
16
votes
1answer
11k views

Putting a process in the background without stopping it - (ctrl+z)?

If I start a process by typing it in normally at the command line, such as wget http://site.com/bigfile.zip and then decide I want to move that to the background, I know that I can use something ...
5
votes
6answers
4k views

job control and ssh

I can't seem to figure out a decent way to manage jobs over ssh. I want to start a job in an ssh session, logout, log back in, do a fg, check on the job, logout, then repeat the whole process. nohup ...
2
votes
1answer
6k views

Disable error reporting on Windows 2008 Server to avoid stalling the job queue?

I have a process running queue jobs and runs other processes to complete them. Occasionally the .exe it is running fails and this causes a crash report dialog to open (WerFault.exe). This causes all ...
2
votes
2answers
4k views

Can you screen a running programme? [duplicate]

Possible Duplicate: Can I nohup/screen an already-started process? GNU screen is great for long running programmes. You can start your programme in it and disconnect and bring your laptop home. ...
2
votes
0answers
707 views

Bash and background processes PGID and receiving signals

My actual problem is that a process I run in an rcfile in docker as docker run container bash --rcfile rcfile remains attached to the bash session by sharing the PGID which means that when I Ctrl-C an ...
1
vote
2answers
8k views

Bash: Call shell script but do not wait for return code

Is it possible in Bash to call a shell script from another shell script but not have the original script wait for the sub-script to complete?
1
vote
1answer
2k views

How can I disable CTRL+Z backgrounding in vim or nano?

I'm using stty susp ^- in a user's .bashrc shell in an attempt at preventing users from using CTRL+Z to background a process. The reason behind this, is that we have a number of users who are used to ...
1
vote
2answers
791 views

Sun Grid Engine: Automatically Terminating Idle Interactive Jobs

We're considering using Sun Grid Engine on a small compute cluster. Right now, the current set up is pretty crude and just involves having people ssh to an open machine to run their jobs. We'd like ...
1
vote
1answer
48 views

Long running bash update script loop. How to handle terminating better?

I have a bash script that downloads some data, runs a process to import it, then sleeps for a little while (about an hour). It's running fine as a systemd service (on Ubuntu 16.04 & 18.04) But I ...
1
vote
1answer
933 views

Slurm: Have two separate queues for GPU and CPU-only jobs

At the moment, we have set up Slurm to manage a small cluster of six nodes with four GPUs each. That has been working great so far, but now we want to utilize the Intel Core i7-5820K CPUs for jobs ...
1
vote
1answer
795 views

open source job/process management/monitoring/control system [closed]

I'm looking for an open source solution for the following: I have jobs that need to run continuously. The jobs are applications or scripts. If they fail, they need to be restarted. If they fail, ...
1
vote
1answer
1k views

Learning Control-M [closed]

Please recommend an approach to achieving familiarity, fluency, and eventually expertise in Control-M. The immediate problem domain is "potent stakeholders have urged the migration of a zoo of ...
1
vote
0answers
40 views

What is shell's maximum background jobs PID stored exit-codes?

When running a shell job in the background, the shell keeps track of the exit-code that can be retrieved with wait <PID>. When a new background job is run, it gets its own new PID, even if ...
1
vote
0answers
348 views

PBS Torque Limit Resource by Time of Day

I am using Torque to manage software that I have a limited number of licenses of (4 to be exact). During the day I need to keep 2 licenses free for use of setting up cases and at night and over the ...
1
vote
1answer
62 views

Running Job and Paused Job Writing to the same File

So I ran tcpdump twice overnight by accident, both outputting to the same file. However, I ran them as jobs and one of them has been paused the whole time. Anyone have a recommendations on how to ...
0
votes
2answers
79 views

Batch Job Processing vs Linux Kernel

I have several large hugin scripted jobs which I would like to have processed in a timely manner. Each script will sometimes use all of the machine's cores at times, and other times be single threaded ...
0
votes
2answers
802 views

esxi 5.0 Command Line, no disown command

In linux I would use the disown command to disconnect a backgrounded process from my terminal so when I quit the terminal or disconnected from it, the job would continue as a child of the init process....
0
votes
1answer
180 views

Sending ^Z to a process on a Xen Console?

I have a Xen server with some VMs on it. I'm using xm console to view it and run some programmes. However I wanted to put the process in the background, and pressed ^Z (control Z) by habit, but that ...
-2
votes
1answer
67 views

How to resume then send a program back to the background

I know I can run something in the background by adding & to it, such as tail -f log.log I can then resume or send the job to the foregrond with fg However, once I do this, how do I send it to ...
-2
votes
2answers
88 views

memory usage per user in SGE cluster

I would like to automate the estimation of monthly memory usage of all jobs performed by a given user in my cluster (SGE, ubuntu). I have seen there are many tools to compute the current memory usage ...