Questions tagged [job-control]

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

This tag is used when a question specifically relates to managing multiple running processes managed by a centralized software construct.

Examples

UNIX: Shell (bash, ksh) "background" processes managed by the "jobs" command Windows: PowerShell "Jobs" managed by Start-Job/Stop-Job/Remove-Job cmdlets

26 questions
1
vote
1 answer

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 using Oracle SQLPlus on VMS, and the default…
Bryan
  • 7,628
  • 15
  • 69
  • 94
1
vote
2 answers

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 to allow interactive jobs, since that should ease…
dmcer
  • 195
  • 1
  • 5
1
vote
1 answer

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 keep the file? So far I have thought of: kill -9…
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
1
vote
1 answer

"Dezentral" job management with redundancy/load balancing

I search a job management solution for local processes. Usually they run for some weeks. At the moment I use a jenkins, but there the server is not restartable (security updates) and there is no redudancy. If one server goes offline, all the jobs…
Alai
  • 11
  • 1
0
votes
2 answers

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 for some time. I'm wondering about the fastest…
mh00h
  • 109
  • 5
0
votes
1 answer

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 just put the xm console command into the…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
0
votes
2 answers

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. In the ESXi /bin/sh shell, I see no disown…
user160910
0
votes
1 answer

In autosys host, one particular path .lck files are automatically creating

We have a autosys host, In particular active path , automatically .lck files are created. Due to this, We could see success runs but our Portal is not getting synced as per the Job run scheduled for every 5min.Observing some delay in syncing the…
Varun K M
  • 13
  • 4
0
votes
1 answer

Verify in ExecStartPre if bash binary exists

I want my service to start only if another service is not active. To do so, as explained in this other question, I am going to do: ExecStartPre=/bin/bash -xc '/usr/bin/systemctl is-active --quiet other-unit.service && exit 1 || exit 0' However,…
mosquetero
  • 299
  • 2
  • 12
-2
votes
1 answer

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 the background again? Ctl-z stops the task, and Ctl-c…
Startec
  • 107
  • 3
-2
votes
2 answers

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 for a particular user, but I want to calculate…
1
2