1
vote
3answers
53 views

get PIDs of processes from

I have a path to an executable. Assume I want to delete this file. I need to find all processes launched using this file and kill them. What is the best way to do it?
4
votes
2answers
145 views

Remove a zombie process from the process table

I've got an annoying zombie process that gets adopted by init, and it won't go away. I've read there is a way to create a dummy process, attach the zombie as a child of that new process and then kill ...
0
votes
1answer
24 views

view/kill a Windows O/S processes from Ubuntu Server

Is there a Ubuntu version of Sysinternals Process Utilities, which allows Window users to view/control remote processes? I already know I can setup cygwin on Windows and use ssh to remote in. All I'm ...
0
votes
1answer
221 views

How i can kill/terminate process in Cisco ios on router 7301

How i can kill/terminate process in Cisco ios on router 7301? One process utilizes a router 100 percent. This process is in no way related to the configuration of the router. Or should prohibit the ...
0
votes
1answer
49 views

How to know which user killed a process

Is there a way in linux to find out which user or which process killed another process? Maybe a log? I searched through /var/log and specifically on auth.log.* but I didn't find anything ...
1
vote
1answer
1k views

How do I know if the Linux server killed my process and which process it killed?

It seems my server killed a process due to it using too much RAM. Is this possible? If it can happen, how can I know when and what process it killed?
0
votes
3answers
135 views

Why “jobs -p | kill -n 15” doesn't work?

I'm very new to Linux. And as a matter of fact I use Cygwin now and not Linux itself. I'm trying to install RVM (Ruby Version Manager). I was doing rm -r ./.rvm -i command. I wanted to remove .rvm ...
1
vote
3answers
434 views

linux/solaris kill many proccess with one command

Is it possible to kill all find process with one command? I do not want to kill each process as kill -9 25295 , kill -9 11994 , etc.. Rather, what I want is a simple way or command that kill all find ...
1
vote
0answers
137 views

ps and top show a different command name then what pkill and pgrep sees

Often times I want to kill process that I believe has changed its command name (I think through setproctitle() or something similar). Apparent pkill, pgrep, and friends do not read the new command ...
2
votes
3answers
606 views

Kill a process and force it to return 0 in Linux?

In the Linux environment, how can I send a kill signal to a process, while making sure that the exit code returned from that process is 0? Would I have to do some fancy GDB magic for this, or is there ...
0
votes
1answer
123 views

Kill xfs_io processes

I have an EC2 instance running CentOS 5.6 86_64. I use xfs_freeze to freeze/thaw a file system before taking a snapshot. Normally this works great, but today it stopped working - the freeze operation ...
-4
votes
1answer
36 views

How can I know which are my rights [closed]

On a fedora server, I have access to the cli. On that server I have a webapp which generates some pdf files using a php library through some ajax request. The problem is that one of the apache ...
1
vote
0answers
327 views

node.js process won't die on unhandled exception

Running the following server.js: cluster(app) .use(cluster.logger(path_to_logs)) .use(cluster.stats()) .use(cluster.pidfiles(path_to_pids)) .use(cluster.cli()) ...
2
votes
4answers
1k views

UNIX permissions to allow group users to kill each others' processes

Let's say we have a group (dev) which has many users and a shared development directory with g+rwx permissions on all contained files. Is this setup sufficient so that any dev user can kill a process ...
3
votes
1answer
3k views

Cant kill process on Windows Server 2008!! - Thread in Wait:Executive State

I hope someone can help me with our issue we are having. We have a major issue with a process that we can not kill and the only way to get rid of the process is to reboot the machine. I have tried ...
0
votes
1answer
526 views

Close a process without psKill and force?

I have a bunch of processes on a server that I want to update the exes regurlary. But before update they must be closed and I use PsKill for that in a bat-file. It works but I seek a way to only send ...
0
votes
1answer
3k views

how to kill a zombie process?

I got a two processes during the network drive failure. 1 D 0 1199 1 0 80 0 - 19101 wait_o pts/21 00:00:01 rsync 1 Z 0 1226 1199 0 80 0 - 0 exit pts/21 00:00:00 rsync ...
1
vote
1answer
122 views

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?
0
votes
1answer
2k views

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 ...
0
votes
1answer
769 views

Cannot kill process in Linux: httpd -k start

I cannot kill the following process: 0.0 1620 17462 /home/mertnuhoglu/webapps/django/apache2/bin/httpd -k start I give kill command but httpd instance still runs: [mertnuhoglu@web145 dj02]$ kill ...
1
vote
1answer
285 views

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?
3
votes
11answers
8k views

How do I kill processes older than “t”?

First, yes I have seen this question: http://serverfault.com/q/71360/14428 The answers there are incorrect and do not work. I have voted and commented accordingly. The processes I want to kill look ...
3
votes
3answers
903 views

Kill a process run by a specific user

Let's say that I have several users running ''ruby'' processes simultaneously. How do I write a shell command to kill the ''ruby'' process of one particular user? (I'm on CentOS 5.5.)
4
votes
3answers
3k views

how is the windows kill process works?

I'm unfamiliar with how processes are killed in Windows. In Linux, a "warm" kill sends a signal (15) and the process can handle by instantiating a signal handler it and a cold kill sends signal (9) ...
2
votes
1answer
470 views

How exactly do i find the a specific samba users process id, so that i can kill it

if for example i have a word document open on a winxp machine via a samba connection, then what command at linux level can i use to find what processes have the file open, so i can kill them, also how ...
0
votes
2answers
380 views

order of killing parent and child processes

It seems to me killing either of parent and child processes will not affect the other. So if want to kill a parent process and all its child processes, I guess I have to kill them one by one. I ...
2
votes
2answers
2k views

kill both parent and child processes

I am running a bash script as a background job. The bash script calls a time-consuming executable. If I am not wrong, the running of the bash script is the parent process and the running of the ...
0
votes
3answers
608 views

Gracefully stop a Windows process remotely

Does anyone know how to gracefully stop a Windows process remotely on Windows XP Professional machines (i.e. there the remote machines are running Windows XP Professional)? The pskill utility seems ...
3
votes
3answers
1k views

How to kill an “exiting” process on OS X (state = E)

I have a process on my Mac OS X system which is in state E ("The process is trying to exit."): % ps auwwwxc | grep -si JavaApplicationS sbwoodside 84547 0.0 0.0 0 0 ?? E ...
7
votes
7answers
14k views

How to kill a <defunct> process with parent 1

I am running Bacula on a RedHat box. From time to time, the storage daemon bacula-sd stops working and becomes <defunct>. [root@backup ~]# ps -ef | grep defunct | more root 4801 29261 0 ...
0
votes
5answers
424 views

Way to kill frozen application

I have an application that freezes. I can't terminate it with ^C, so I have to do following: $ ./myapp ^C^Z [1]+ Stopped ./myapp $ pgrep -lf myapp 18479 bash ./myapp $ kill -9 18479 ...
5
votes
5answers
4k views

Find (and kill) old processes

Basically I need to be able scan the process tree and find processes that match a certain name and started running more than a week a go. Once I have them, I need to kill them. All the processes are ...
4
votes
5answers
2k views

Bash snippet for killing a process until it's dead?

I'm trying to write a robust bash script, and in it I create a background process. At the end of the script, I want to kill it. I have it's PID. I was thinking of somthing like this while [[ ps ef ...
6
votes
4answers
21k views

How do you kill a process tree in linux? [closed]

Sometimes, sending a SIGTERM to a process will cause it to send SIGTERM to all its child processes. However, sometimes this doesn't work. Is there a command or a utility that will allow me to kill a ...
0
votes
2answers
594 views

PostgreSQL processes and the signals to which they respond

For PostgreSQL 8.3 and later, what are the processes that make up the server and that respond to a query? What signals do the various processes respond to and what effect do the signals have? What ...
1
vote
3answers
356 views

Un-killable user processes in Linux?

I use sshfs (fusermount) to connect remote mountpoints. When I forget to unmount them using... fusermount -u /REMOTE ...all processes which used the mountpoints hang. I try to kill them with ...