How to kill all process with given name?
I run command ps -A | grep <application_name> and getting list of process like this:
I run command ps -A | grep <application_name> and getting list of process like this:
I’ve read in many places that Linux creates a kernel thread for each user thread in a Java VM. (I see the term “kernel thread” used in two different ways:
The word “subreaper” is used in some answers. Searching Google also turn up entries where the word is “just used”.
I know that with ps I can see the list or tree of the current processes running in the system. But what I want to achieve is to “follow” the new processes that are created when using the computer.
Most shells provide functions like && and ; to chain the execution of commands in certain ways. But what if a command is already running, can I still somehow add another command to be executed depending on the result of the first one?
How can I ask ps to display only user processes and not kernel threads?
My server program received a SIGTERM and stopped (with exit code 0). I am surprised by this, as I am pretty sure that there was plenty of memory for it. Under what conditions does linux (busybox) send a SIGTERM to a process?
I have a process which listen to 2 ports : 45136/tcp and 37208/udp (actually I assume it is the same process). But netstat doesn’t return any pid :
Is there way to determine using standard Linux/Unix tools how much a process has spent in User mode and how much waiting for kernel?
So I keep reading everywhere that this command should terminate all child processes of the parent process: