Questions tagged [kill]
125 questions
1
vote
2 answers
terminate a processed launched by nohup
I have loaded debian etch into my NAS and I am trying to use it to routinely extract information from a website. Since there are quite a lot of pages to download, I used the nohup command, like this:
nohup ./script.sh $
Then the script runs as…

lokheart
- 123
- 1
- 5
1
vote
1 answer
What can be used to prevent the termination/killing of a process, even by the root user?
Is there a security framework or general tool that can be used to ensure that a certain process started at boot in Linux cannot be terminated by any user or other process, including the root user?

H.G.
- 11
- 1
1
vote
2 answers
With Powershell, how can I get the id of a process owned by a specific user?
Using Powershell, I want to do the equivalent of Unix
ps -auxc | grep Emacs
kill -9 364
(Assuming 365 was the pid the first command told me.)
How do I do that? I find it incredibly hard to get Powershell to tell me the owner of a process and the…

Andrew J. Brehm
- 1,611
- 7
- 37
- 57
1
vote
2 answers
Phantom process killing
I have a java application running on a CentOS 5.4 server.
Randomly, and seemingly without cause, these processes will die, not through the application exiting, or due to my killing it, but due to something that seems to kill without leaving a…

Martin
- 55
- 9
1
vote
1 answer
What happens when you kill a process that has database tables locked?
Trying to kill a process that running a MySQL database backup, and has the tables locked. What will happen if I kill the process?

blunders
- 813
- 7
- 14
- 30
1
vote
1 answer
kill all process spawned by parent process with ssh -x -n on other node
A software named G09 works in parallel using Linda. It spawns its parallel childs on other node as
/usr/bin/ssh -x compute-0-127.local -n /usr/local/g09l/g09/linda-exe/l1002.exel ...other_opts...
However, when the master node kills this process, the…

Prince
- 11
- 4
1
vote
1 answer
Force KILL State -D Process/PID in Linux
Can anyone show me how to Force KILL State -D Process/PID in Linux? I am looking everywhere and no answer found yet.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13585 ggreik 16 0 8600 5508 1648 D 0.0 0.0 0:00.17 …
regmaster
1
vote
2 answers
Hung application in shell
Sometimes when an application hangs in bash session (e.g. network lags in telnet, ssh, whatever) I can't kill it with ^C, stop it with ^D and even send it to background with ^Z.
Is there a way to kill it without opening another shell with kill? I…

kolypto
- 11,058
- 12
- 54
- 66
1
vote
4 answers
How to kill processes on a remote *nix machine
I would like to issue a kill command across many *nix machines. I'm attempting to do something like this:
rsh ps -ef | grep | awk '{print $2}' | xargs n1 -t -i kill {}
But that issues the kill command on the local…

JamesG
- 113
- 1
- 4
1
vote
1 answer
Kill Leaking Connections on SQL Server 2005
We have a legacy ASP application that somewhere leaks SQL Connections. In Activity Monitor, I can see a bunch of idle processes with Last Batch times over an hour old.
When I look at the T-SQL command batch, these are always FETCH API_CURSOR[XXX]…

Thierry Brunet
- 11
- 1
- 3
1
vote
5 answers
crashed VNC sessions detect and killing
I have following issue: Many users create VNC session and after that they forget about them. After some time these sessions crash and start to consume about 100% power. Then somebody has to manually kill them.
My question is, Is there some way to…
Stoyan Stoyanov
1
vote
1 answer
How can I kill a process remotely on a windows server when the server has exceeded its memory limit?
Context
I use and manage* a windows server at work. It is used for general computations by up to 5 users at a time via RDP.
The server has 128GB of RAM which is sufficient for the work we do on it.
However, now and then one of the processes eats up…

Saaru Lindestøkke
- 134
- 5
0
votes
1 answer
Kill a running process inside a docker
I've run a find command on a very large folder inside my docker, and now it is stuck for more than an hour.
I've tried to kill -9 the process, and kill the docker container with docker kill , but nothing helps it move. I can't run…

blue112
- 143
- 1
- 7
0
votes
1 answer
How to restart linux services if it reaches 100% CPU?
I have postfix email server with saslauthd. Time and again saslauthd daemon eats 100% CPU. Restarting these services returns to normal cpu usage.
Is there any proper script to determine services with high CPU usage and restart it…

Anand Shrestha
- 41
- 5
- 12
0
votes
2 answers
How to kill a process by its full name, including the path?
Given the full file name of a process, how can I kill it? Not only by its file name, but by full file name. I've looked into kill and pkill and they're not what I'm looking for.

Korim
- 27
- 1
- 3