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
9 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', ...
0
votes
2answers
39 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
0answers
14 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
35 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
59 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
74 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
35 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
45 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
20 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
128 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
36 views

php - killing a process which ran for a lot of time or using a lot of Memory

I am not sure whether this question belong to stackOverflow 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 ...
4
votes
1answer
140 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
75 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
67 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
89 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
93 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
108 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
233 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
44 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
236 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
223 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
336 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
77 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
392 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
93 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
13k 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
75 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
1k 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
317 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
492 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
886 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
414 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
2k 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
84 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
159 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 ...
4
votes
5answers
5k views

Can't kill a sleeping process

I don't seem to be able to kill -9 a process which is in an interruptible sleep (S) state: [root@jupiter ~]# ps -elf | grep yum 4 S root 16790 1 0 75 0 - 73779 - Jan15 ? ...
1
vote
1answer
3k views

Unable to terminate process

I can't terminate some processes. It says "Access denied". I am the ultimate owner of the computer. How can I terminate such processed anyway? These are not system processes, these are file managers ...
-1
votes
1answer
323 views

Force shutdown without checking open process Windows 7

Is there any way to force shutdown without checking or waiting running procceses to terminate. More specifically, i want something like unpluging the socket. Setting the value of WaitTimeToKillApp in ...
2
votes
2answers
1k views

How to kill all processes with the same name?

I want to kill all processes with the same name that belong to a user, for example: $ps -u user_1 2345 myapp 2346 myapp 2347 myapp 2348 myapp2 2349 myapp I want to kill all "myapp" processes that ...
-1
votes
1answer
129 views

Can I use sudo for kill not root processes?

Can I use sudo for kill only not root processes ?
13
votes
4answers
5k views

“Access denied” when trying to end a process on Windows 8

I get "Access denied" when trying to end a process on Windows 8. From Kill process (windows 8) issues on Stack Overflow, I've read: The process may have a thread active in kernel mode that is not ...
2
votes
1answer
157 views

How to disable jobs killing when leaving the terminal

When I leave a terminal via Ctrl+D and there are jobs in the background I get There are stopped jobs for the first time, but when I press Ctrl+D again, the jobs get killed. Can I disable the latter ...
0
votes
1answer
986 views

taskkill - end tasks with window titles ending with a specific string

I need to write a batch program to end all MS office communicator tasks with window titles (usually ending with pattern "- Conversation" . I tried taskkill /FI "WINDOWTITLE eq *Conversation" ...
0
votes
1answer
1k views

Why does explorer restart automatically when I kill it with Process.Kill?

If I kill explorer.exe like this: private static void KillExplorer() { var processes = Process.GetProcessesByName("explorer"); Console.Write("Killing Explorer... "); foreach (var process ...
1
vote
2answers
4k views

Cannot kill the process javaw.exe from Minecraft

I start up Minecraft, close it using Quit game or press the close button and the window closes but not the javaw.exe process and when I try to kill it in the Task manager nothing happens. When I try ...
2
votes
1answer
201 views

Kill program in a bat file

In a command file, startup.cmd, I have something like start "program.exe" I would like to do the following: if running, stop program.exe start program.exe I tried taskkill program.exe If ...
0
votes
1answer
271 views

(Why) doesn't Fedora properly terminate all processes on shutdown?

I've noticed that with Fedora 17, a shutdown operation (e.g., shutdown -h now) has gotten so much faster (feels like 2 seconds max). So I'm wondering if running processes are terminated properly? ...
3
votes
3answers
552 views

What signals does OS X send for the Quit and Force Quit commands?

What happens behind the scenes when a user gives a Quit or Force Quit command from outside the target application (e.g. from Activity Monitor)?
1
vote
1answer
574 views

how to prevent a java process from being killed by killall java -9

Whenever I type killall java -9 ,all java process is killed, even if i change the process name. So Is there an way to protect the java process being killed by 'killall java -9'