How to find all process started by another one in linux [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 8 years ago. Improve this question I run Counter-Strike servers in linux based os (ubuntu, centos) by web script. I need to find all running process from hlds_linux process … Read more

Tcpdump stops capturing wifi data while running in the background

I have a problem capturing wifi data using tcpdump while running in the background. OK, lets get some facts: my wifi-device is named wlan0 wlan0 is in monitor mode (that’s what I want) I’m using tcpdump to capture packets If I run my script manually in the shell, it works well. Now I want to … Read more

Ubuntu server terminating background process when last ssh closed

I have an Ubuntu 14.04 server and I am trying to start Apache Karaf from a ssh, exit the ssh and expect Karaf to remain execting. What I actually find is that as soon as the last ssh is closed/logged out, the Karaf process is terminated. I start Karaf with the bin/start command as described … Read more

How to run Azure cmdlets in background?

Several Azure PowerShell cmdlets have very tedious run times; a trivial task such as setting a static IP address on a virtual machine can take more than a minute (I guess this is because the cmdlet is actually sending commands to Azure and waiting for Azure to perform the requested task and report back); thus, … Read more

How to deal with an ExecStart-script, that backgrounds the actual task and exits?

I’m trying to create a systemd-service for a vendor-provided shell-script, which exits after launching the actual service (a Java-program). I don’t want to put the program itself into ExecStart, because the script does a lot of things first (setting up environment variables, etc.) — which lot also changes from version to version. The only means … Read more

In Linux/bash how can I prevent asynchronous commands?

I have a makefile that calls external build scripts. Some of these scripts (which I can’t change) make use of commands that are forked / backgrounded (or asynchronous as the bash manual names them) That means that the next line in the makefile can start before some of the previous command finishes – creating a … Read more