kill is a UNIX/Linux command to signal a process, by default with a signal to terminate the process. It can also be used to force a process to quit immediately without cleanly exiting or to tell a process to take some action (e.g. to signal a httpd to reread its configuration without restarting).

learn more… | top users | synonyms

0
votes
0answers
13 views

“kill -3” equivalent in powershell?

I'm trying to a get a Java Program running on Windows to perform a (java) Thread Dump; on Linux I would use: kill -3 <pid> Is there a Powershell equivalent of this ? I tried: debug-process ...
0
votes
1answer
24 views

How to stop all process of specific apache?

I use CentOS and have running multiple instances of httpd, example: /usr/sbin/httpd /opt/zimbra/httpd/bin/httpd But need kill all process only /usr/sbin/httpd killall -9 -v httpd Kill all httpd ...
4
votes
1answer
71 views

Kill unresponsive process in windows that won't stop through Task Manager or Process Explorer

Up front: I'm using windows 7 64 bit. So sometimes I am trying to kill a process but it won't quit. I can try killing the process or the process structure, but Task Manager won't accomplish anything. ...
0
votes
2answers
38 views

How to (what programm) kill a process in windows that has been inactive for X seconds and is running in multiple instances

I have multiple instances of a programm running and from time to time it stops responding. I need to check if processes of X have not been responding for >X seconds, and if yes, kill this exact ...
0
votes
0answers
104 views

An attempt was made to access an exiting process

We have a directory that we cannot delete because... Cannot remove item C:\myDir: The process cannot access the file 'C:\myDir\' because it is being used by another process. Inside Resource ...
1
vote
0answers
31 views

How to kill a process that calls execv?

A process that calls execv is not dying, by, what looks like, design. Example borrowed from here: #include <sys/types.h> #include <unistd.h> #include <stdio.h> main() { pid_t ...
3
votes
1answer
76 views

Killing rsync softly

Is there a way of tell rsync to stop whenever possible in a clean way? Two options: tell rsync to stop transfering the current file, clean any temp file and exit; or let rsync end the transfer of ...
0
votes
0answers
47 views

Chrome doesn't start, cannot reinstall and process cannot be killed

So I managed to crash Chrome while playing with PHP, and after that it didn't start up at all, so I decided to uninstall it and reinstall. Reinstalling didn't work, for "some reason" it said, probably ...
1
vote
1answer
130 views

Can't kill process with Task Manager or taskkill

There are some processes wich I start, they freeze (don't even get to the GUI), and then I'm unable to kill them. These are usually programs I wrote or compiled. When I try to kill them via Task ...
1
vote
0answers
67 views

can't kill installer made with innosetup

For years I have been making installers with innosetup, on Windows XP SP3. I have just installed the latest innosetup, 5.5.6 (u) (for Unicode) on Windows 7 Professional, 64-bit. I made a new ...
0
votes
1answer
128 views

How to kill/rm pipe by inode number only?

EDIT: I originally cut and pasted a question I'd asked earlier on stackoverflow that got closed: http://stackoverflow.com/questions/32622224/how-to-kill-pipe-by-inode-number-only I've now run into ...
0
votes
2answers
63 views

How can processes detach when I try to kill them?

I have an application on Linux where I have to kill a whole process tree from within an application. The process tree looks like: app └── parent ├── child1 ├── child2 ├── child3 ├── ...
2
votes
2answers
87 views

How do I kill one cron job before executing another one?

In the crontab -u pi -e of my digital picture frame I have got two processes. The first one calls feh on reboot and starts a slide show. @reboot bash /home/pi/ledslide1.sh >> ...
1
vote
2answers
90 views

Kill all tasks with PID above a certain integer with bash

How may I fetch and kill all processes with a PID above e.g 1000? Using commands like ps -A and top is fine for viewing the list of processes, but how would one only get the PIDs? The logic of ...
2
votes
1answer
50 views

Bash Script will not stop.

So i had the bright idea of making a script that pings my IP to see if its up as i am having some issues with it. so here is the script I made. while : do ping (IP address) done now it ...
3
votes
1answer
418 views

On Windows, how can I gracefully ask a running program to terminate?

On Unix or Linux, it's easy to gracefully ask a running application to terminate: you send it the SIGTERM signal. If its process ID is 1234, you can simply run kill 1234 or kill -s TERM 1234 or kill ...
0
votes
0answers
46 views

Is it ok to kill the sh zombie process?

sh process is zombie but i have doubts killing it in case it will affect the parent crond(31720), since it's in an enterprise server. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME ...
0
votes
2answers
75 views

Ctrl+c is not working with gedit

When I use gedit command to try edit the a file and then pressing ctrl+c is not terminating the gedit and giving the following log gedit test.sh ...
6
votes
2answers
138 views

Which signal numbers work with the kill command?

We all know the kill command in Linux (kill -9 if some more power is needed ;) ), but what I don't understand is what are the other numbers for? These are the numbers I know: kill -1 → Hangup ...
1
vote
1answer
321 views

In windows, do file-locks stay after a process was terminated via taskkill?

We are not talking about a reboot/restart here (similar to another question). This question distinguishes the different way that windows handles existing file locks on a taskkill versus the way it ...
0
votes
0answers
44 views

Don't kill slow processes on shutodown

When linux is shutting down it sends all processes first the term signal and then the kill signal. The time between the signals is very short, so that some processes always get killed. My Firefox ...
1
vote
1answer
3k views

Restart process on linux by its pidn number with kill command, how?

Well, I want to be able to restart processes on linux and so I looked into kill manpages for that. Apparently kill -l would list all the signals I could send to a process to do what I need, which ...
4
votes
2answers
2k views

Can’t kill a process that’s running—yet apparently not visible—in the task manager

I started an application that won’t run, yet I can’t delete it cause it’s still running. I can print the PID, but not kill the process using it. ~ $ ps ax | grep snappr | awk '{print $1}' 70824 ~ $ ...
1
vote
2answers
2k views

Mongodb not shutting down via --shutdown command

i need help with a problem on shutting mongod down gracefully. I'm running mongodb on docker . i run mongod like with the command : mongod --config /etc/mongod.conf and when i close with : ...
1
vote
1answer
93 views

How do two users start/stop a service? eg: Tomcat

I found a big problem with sharing management of tomcat server. Eg: There are 2 Linux accounts (ua & ub) both in charge of start/stop certain tomcat server. ua: Start tomcat server with ...
0
votes
1answer
73 views

Killing a process does not work properly

I am attempting to kill a process (see the code below) but I have no success. This process running does not let me make new videos with the Raspberry Pi Camera and not even restart the Raspbian (which ...
0
votes
1answer
6k views

Killing processes in Raspbian

I am trying to kill the processes below: pi@raspberrypi ~ $ ps aux | grep raspi pi 4647 0.0 0.5 3520 1392 pts/2 S+ 12:05 0:00 grep --color=auto raspi root 8148 0.0 0.5 ...
1
vote
2answers
153 views

Linux: How to kill a root owned process by parameter's name?

I would like to know how to kill processes owned by the root based on their parameter's information: root 3176 0.0 0.8 3604 2252 ? S 21:33 0:00 sudo python main.py root ...
1
vote
2answers
508 views

Why SIGTERM signal does not work for process group?

[EDIT] I changed SIGINT to SIGTERM in whole question. I have a script which runs subproccess script which starts jboss. #!/bin/sh .... start_jboss.sh & trap 'kill -SIGTERM 0' EXIT HUP TERM INT ...
0
votes
0answers
37 views

Shutdown program with right click or something

I have Skype on my Windwos 8.1 computer and everytime I want to close the program I have to confirm twice that I really want to shut the program down. If I right-click on the Skype icon on the ...
16
votes
3answers
2k views

Prevent currently running linux task to be killed after logout from SSH

I have a computational task running for a few days on a linux server via SSH connection. It is not on the background, so the SSH connection is under hold of the task. I want to restart the local ...
0
votes
1answer
271 views

The OSX Process that wont die

I've got a process on OSX 10.9.5 that just wont die. I have tried kill PID kill -9 PID sudo kill -9 PID killall sshfs killall -9 sshfs sudo killall -9 sshfs Activity monitor / select process / ...
0
votes
0answers
65 views

Kill browser tabs with Bash from younger to older

Hello i want to kill tabs from a browser(ex. chromium) by order from youngest to oldest. I used pkill -f -n -9 chromium but i want to use it in a while iteration with comparison to pkill's return ...
0
votes
2answers
881 views

How can I find wget processes older than one day in unix?

Using this command I can find all the processes for wget: ps -aef | grep -i wget But I want a command or a script which can provide me the processes older than one day for wget and kill them.
1
vote
1answer
394 views

Kill a process by PID started by Batch Script (avoiding other process of same name)

I have multiple processes by the same name (say multiple FIREFOX.exe process). A Batch script then opens another firefox.exe process and, after some predefined time, needs to kill the process it ...
1
vote
0answers
212 views

How to keep Linux kernel responsive while having high memory usage?

Sometimes I have a lot of programs running and despite of 16GB 8GB of memory my ubuntu linux 14.04 LTS turns out to be not responsive at all. I won't be able to get a TTY to kill some processes to ...
0
votes
1answer
629 views

Looking to kill frmweb processes with no jobs

So I am trying to figure out a way to kill Oracle frmweb processes that are doing nothing when load begins to get too high. So far, I have found this command: ps -elf | head -1; ps -elf | awk '{if ...
3
votes
2answers
1k views

Finding all not responding tasks from the command line in Mac OS X?

I know I can do ps -aux | xargs kill etc but I want to list the PIDs of all tasks that are not responding (the red ones in Activity Monitor). What command I can execute in the terminal to list these ...
0
votes
1answer
9k views

How to find and kill all Java Processes to avoid an OS reboot if Java will be installed silently?

Introduction In order to avoid a reboot or occurrence of a pop-up which requests to reboot the OS if a newer version of Java will be installed silently, all processes which are using Java have to be ...
1
vote
2answers
159 views

How to close a process that just doesn't shut down?

I am trying to uninstall qbittorrent but it just doesn't shut down. I tried killing the process both in Win 7 and using Process XP but it's still lingering. Any ideas on how to kill processes like ...
2
votes
1answer
2k views

Ctrl-C not killing process in CMD.EXE

I've had this issue for a while even after reinstalling. Issue happens after I reinstall all my programs and not in a fresh Windows install (obviously). Might have to spin up a VM and install each ...
1
vote
0answers
25 views

Reusing _kill completion in .bashrc fails

I'm trying to extend bash completion alias perf-connect-process="perf record -p"; alias pperf=perf-connect-process; complete -F _kill perf-connect-process; complete -F _kill pperf; by reusing the ...
1
vote
2answers
627 views

Kill processes and programs in windows instantly

Some programs I run can't be killed and terminated even from the Task Manager. Sometimes they can be terminated but it takes too long. I want a method that always kills them instantly. Is there any ...
0
votes
1answer
185 views

An unknown software opens a window that can't be closed even from the Task Manager

There is a windows that keeps on reappearing on my desktop and won't go away (it's not listed in the Application or Processes tab of Task Manager). It looks like a plain light gray box with two ...
1
vote
3answers
3k views

Kill the currently active window with a keyboard shortcut

How can I kill the currently active window with a command or keyboard shortcut? Alt+F4 closes a window, but first it will wait for the program to respond. Depending on the application, this may take ...
0
votes
1answer
613 views

How to find process stop time in linux?

I have one application which runs 24x7 in my system. But some how it was killed abruptly. I observe it 2 or 3 times from last 10 days. Now I want to find from how much time my application is stopped. ...
2
votes
0answers
123 views

Which process killed my process

One of my applications starts java.exe, but in between this 'java.exe' is killed by some other process. How can I know which process kills the java.exe. I am using Windows XP SP 2.
0
votes
1answer
100 views

Kill tmux when ssh is started

I have a server with tmux and a client with tmux. If I connect to my server I have running 2 tmux sessions, one from the client and one from the server. Is there a way to detach the clients sessions ...
0
votes
1answer
1k views

How to kill a process that just won't quit (killall -u username included)

I was fooling around with some applications in my mac (going into contents and trying to change some files, values, etc.) Of course sometimes I get crashes, but I usually just kill the process and ...
4
votes
3answers
6k views

How to kill all processes returned by pgrep

I need to kill a few Python processes. I can get a list of the process numbers using pgrep python, but how can I kill them all at once instead of killing one by one? I'm looking for something like: ...