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
1answer
15 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 ...
1
vote
0answers
7 views

Finding all not responding tasks from the command line in OSX?

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 my terminal to list these ...
0
votes
0answers
9 views

MacAfee On Access Scanner won't end Windows 8

My computer is operating quite slow, and after opening the task manager I have determined that Macafee on access scanner is occupying 65% of CPU load (sorry if this is not worded right). My computer ...
0
votes
1answer
139 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
30 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 ...
1
vote
1answer
94 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
19 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 ...
0
votes
2answers
89 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
57 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
2answers
68 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
57 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
37 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
32 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
109 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 ...
0
votes
0answers
13 views

ORACLE 3.2 - Query export wont stop..how do i kill it?

I modified a query and it is now over 5million records through the export, when my intended result was about 500,000 records. Something is wrong, so i want to kill the export. I clicked the RED 'X', ...
1
vote
2answers
246 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: ...
0
votes
1answer
36 views

Kill display manager and start another one with a script

I have a small script in which I kill gdm3 and start up an X Session. It works, but I have to run it 3 times. export DISPLAY=:0 var = $(pidof gdm3) kill $(var) X :0 & xterm & export ...
0
votes
1answer
80 views

ControlC doesn't stop .cmd script in Windows7 CMD window

I work with several Windows7-64 systems. In all but one, typing ^C into a CMD window running a .cmd file, invariably (and expectedly) stops the program. More importantly, if the .cmd script launched ...
1
vote
1answer
142 views

Taskkill for all running processes that exist in a specific directory

I basically want to combine the following sets of commands. In other words I need to check to see if any executable that exists in c:\apps is running, and if any are, to kill them. Once these ...
0
votes
0answers
392 views

linux - kill -9 doesn't work on running process

I have apt-get process running on my server and I cannot kill it. root 26386 99.7 0.0 25588 2844 ? RN 06:52 956:49 apt-get -qq -y update I used kill 26386 first, then tried kill -9 ...
0
votes
0answers
87 views

Accidentally xkilled desktop and taskbar on linux

I was on CentOS with KDE, and I accidentally pressed Ctrl+Alt+Esc, and then clicked the desktop, and the taskbar. Only the mouse pointer worked now. My short research showed that this is xkill, and it ...
0
votes
1answer
69 views

How to relogin to root after killall -u root?

I had done a silly thing and pressed enter on the command: $ killall -u root And now we can't log in. The last command ran was: ws4-clarind:~ # killall -u root Connection to ...
1
vote
2answers
27 views

How to interrupt my script?

I use the following script (which I start from at command) as an alarm: #! /bin/sh set -m while true; do paplay /usr/share/sounds/phone.wav done & I want to bind a key to stop this alarm. Please ...
0
votes
0answers
269 views

how to kill a tcp connection in solaris operating system?

A client program connects to my server program written in JAVA via TCP connection (ServerSocket). I want to close the TCP connection between these two programs with a Solaris command or tool for ...
0
votes
0answers
61 views

Killing a process which ran for a lot of time or is using a lot of memory

I am not sure whether this question belong to Stack Overflow or here, but here we go. I am designing a online 'C' compiler, which will compile and invoke the program if compilation succeeded. So ...
0
votes
1answer
29 views

Is there a version of kill with feedback?

Is there a fork or easy mod of the linux kill command to provide feedback? I'd like to avoid the cycle of: ps acx | grep rogue_agents killall rogue_agents # alternately, kill 007 ps acx | grep ...
5
votes
1answer
177 views

How an unprivileged user could kill a process she didn't start?

I stumbled upon something very surprising which I cannot understand on a Red Hat EL 5.6 box : the user hri (which is in the group dba) is able to kill processes owned by user oracle (which is also in ...
0
votes
2answers
84 views

Is there a way to create a process which can be killed by anyone in Linux?

For example, I would like to start running a process in the background SECRETLY on a Ubuntu server , but whenever anybody except me logins to the server, the process must be killed by that user. Is it ...
0
votes
0answers
100 views

Oom-killer (out of memory) with plenty of RAM (?!) - inotify

I'm facing an issue by putting inotify to a huge amount of folder (~2 000 000). I changed the max_user_watches to 8388608 : echo 8388608 > /proc/sys/fs/inotify/max_user_watches To support this ...
1
vote
0answers
133 views

How to kill a task that is “lacking an instance”?

Spotify first killed itself but "something of it" kept lingering which was detectable as a task with PID 8664 and judging from the fact that RAM usage kept changing from time to time - it "did ...
0
votes
0answers
120 views

close tcp\udp connection by process name without killing the process Autoit script

I need help with this script It's close a tcp\udp connection of a process without killing the process I found script in forum but it's not working let's say I want to close any connection established ...
0
votes
1answer
158 views

kill command working despite error

after running this command kill -9 <PID> for ./sc_serv. I am getting this output below: -bash: kill: for: arguments must be process or job IDs -bash: kill: ./sc_serv: arguments must be process ...
2
votes
1answer
324 views

Linux command line: Kill vs Kill -9?

So I've set up some shell scripts to auto-deploy a fresh war file to a tomcat server. I call the shellscript to stop tomcat (shutdown.sh), and then I kill the catalina PID, however I've noticed that ...
1
vote
1answer
52 views

How do I execute savehist for tcsh history if my machine froze?

My MacBook Air froze all of a sudden: the keyboard, trackpad and display are all unresponsive. However, ssh works. I have one tcsh session active. Which signal do I send to tcsh for it to ...
1
vote
2answers
384 views

How to kick other root users logged in from different shells?

I logged into a machine, and entered: insite1@POC-Messaging1:/opt/insiteone/log> last -a | grep "logged" insite1 pts/6 Tue Jul 30 03:59 still logged in 160.110.5.210 root pts/5 ...
2
votes
2answers
286 views

Kill a process based on parts of its name over ssh (different results when running interactive ssh session)

I am trying to do: Fing the pid of process based on something I grep for, lets say "Name": pid=(ps aux | grep '[Ń]ame' | awk '{print $2}' | head -1) Then kill it kill $pid This works fine if I ...
0
votes
1answer
487 views

How to discover what is killing a process?

I have a minecraft server running in a VPS and sometimes my server is being killed unexpectedly. I don't believe this is a java error because no error is thrown and this happens when the server is ...
0
votes
2answers
84 views

How to find the process which has a lock on a file in a linux environment

So I have a problem similar to this individual... http://stackoverflow.com/questions/13635429/git-rename-from-index-lock-to-index-failed So it seems that he eventually solves his problem by finding ...
-1
votes
1answer
455 views

My MPC started on its own and the process mpch64.exe was running at 100%, why? [duplicate]

I was working and all of a sudden heard my computer fan spinning extremely fast as if I was playing a 3D intensive game. I checked my processes and quickly discovered the culprit - mpch64.exe. My CPU ...
0
votes
0answers
108 views

How to know which driver or kernel module prevents process to be killed?

Sometimes I have processes which I can't kill. Process Explorer, Task Manager and others say that "Access denied". I was told that this can be because kernel driver has a bug or something. How to ...
0
votes
3answers
21k views

How to overcome Access Denied when killing process in Windows? [duplicate]

How to kill process which does not want to? I have Access Denied message when trying to kill the process. I know it can be due to device driver waiting and probably this is the reason. But my ...
0
votes
1answer
88 views

Kill user session if from unknown source

I would like to kill ssh connections to my server if they are from a particular 'office' Any ideas how I would do this without using ip-tables? Cheers
6
votes
1answer
2k views

What killed my process?

Been having a problem with application that keeps getting killed. This is running a RHEL5 server. We ran strace against the process and at the end of the trace file I get a bunch of +++ killed by ...
1
vote
1answer
449 views

Ubuntu kill java program started by bash

I've got a problem with killing my Java Program on Ubuntu. I created the following init script: #!/bin/sh ### BEGIN INIT INFO # Provides: control ... # Required-Start: $remote_fs ...
1
vote
3answers
654 views

Why can I kill a sudo process on Xubuntu but not Linux Mint? (as a normal user)

I have two computers, one running Xubuntu 12.04, and the other running Linux Mint 14. On Xubuntu: $ sudo gedit in another terminal: $ kill [pid of the gedit process] bash: kill: ([pid]) - ...
4
votes
3answers
1k views

What does kill 0 do actually?

In the man page, it says: 0 All processes in the current process group are signaled And I tried like this: $ man kill & [1] 15247 $ [1]+ Stopped man kill $ kill ...
2
votes
1answer
638 views

taskkill windows command getting hung

I have a few batch files in which I directly call taskkill command to kill running processes (because they interfere with these nightly build scripts). But recently, it seems after some Windows ...
2
votes
2answers
3k views

kill - no process found

when I list my processes I have: root@adam-ThinkPad-T410:~# ps -e | grep signals 11641 pts/0 00:00:00 signals 11642 pts/0 00:00:00 signals 11643 pts/0 00:00:00 signals but when I ...
1
vote
2answers
87 views

OS X - Kill a process after login

I have a process that is most probably set to run by managed preferences on my account after I log in. However, I do no use it at all, so I wanted to know if there is a way to automatically kill the ...
1
vote
2answers
193 views

Kill a process in Unix

When I execute theps -fea | grep ssh-agent command, I get the following output: tomcat 29057 14086 0 Jan 09 ? 0:00 ssh-agent oracle 1964 14086 0 Nov 26 ? 0:00 ...