Questions tagged [kill]

used in bash/shell to kill process

In computing, kill is a command that is used in several popular operating systems to send signals to running processes in order to request the termination of the process.

In Unix and Unix-like operating systems, kill is a command used to send a signal to a process. By default, the message sent is the termination signal, which requests that the process exit. But kill is something of a misnomer; the signal sent may have nothing to do with process killing.

The kill command is a wrapper around the kill() system call, which sends signals to processes or process groups on the system, referenced by their numeric process IDs (PIDs) or process group IDs (PGIDs). kill is always provided as a standalone utility as defined by the POSIX standard. However, most shells have built-in kill commands that may slightly differ from it.

enter image description here

Source: [Wikipedia] - kill (command)

225 questions
84
votes
10 answers

How to kill applications

I have been playing around with Ubuntu installing new themes and and docks. Sometimes during the installation, whole screen just hangs. What is the best way in Ubuntu to Kill a process/application? Anything similar to Ctrl + Alt + Del of windows?
t3ch
  • 2,713
4
votes
1 answer

How to close a pop-up window that don't want to be closed?

I am using a Ansys Fluent software and a small pop-up window "Messages" pops up in front of my main window "Meshing" (a print screen of the image is here). I can't close the pop-up window by clicking on its Close tab button to be able to access to…
MisterX
  • 330
3
votes
1 answer

How to kill specific java process?

ps -aux | less displays java -jar /var/appname.jar Now I'm killing it by killall -9 java But if there is also another java process java -jar /var/anotherappname.jar how to kill only the first one?
Ekaterina
  • 131
2
votes
2 answers

Kill #### but process still there?

I would expect to see nothing in the 3rd command below, but clearly my expectations are incorrect. Why? $ sudo fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC0: joeuser 2339 F....…
2
votes
0 answers

I have a process (left) that I cannot kill? Anything aside from a reboot?

I have a process that I ran under a Tmux session that I cannot kill. I have tried kill, kill -9, a few other kill numbers, without it having any effect. I killed the tmux session successfully but the process lives on. It does not appear that it has…
1
vote
2 answers

Give group permission to only kill specific process which is started by root

I want the members of a certain group to kill python. pidof python | xargs kill This is no problem when python has been started by themself. But when root has started a python process than the users of the group can't kill python. I can fix this to…
OrangeTux
  • 5,195
  • 8
  • 36
  • 57
1
vote
1 answer

Consult `kill -SIGUSR2` within the manual

I learned a debugging tip using kill -SIGUSR2 it works but not defined in the manuals me@alpha:~: $ man kill |grep -i sigusr me@alpha:~: What' s the problem?
Wizard
  • 2,891
1
vote
1 answer

Killing Ubuntu window in WSL

I'm totally new to Ubuntu so please forgive this newbie question: I just installed Ubuntu to run under Windows 10 and was playing around with some commands. The "wifi" command, however, seemed to hang up my Bash Shell. What is the easiest (and…
0
votes
2 answers

kill -9 command not working

I am new to Ubuntu. I am using it for radius manager. When I typed ps ax | grep rm I got: 50 ? S< 0:00 [acpi_thermal_pm] 1153 ? Ssl 0:00 /usr/local/bin/rmconntrack 1171 ? Ssl 0:00 /usr/local/bin/rmpoller 1424 pts/0 …
0
votes
4 answers

How to kill 3 processes with totally different names?

I want to kill 3 processes with all different names, nothing in common at all. How do I do this? grep cant capture them all because there is nothing in common, or is there a way to make it grab all them?
0
votes
1 answer

How to kill multiple processes?

Is there a way to kill multiple processes? e.g. kill -9 49855 49856 I have tried using commands like pkill but they require a single pattern and do not allow multiple pid inputs.
Kong
  • 1,241
0
votes
1 answer

pkill -f vlc not killing /usr/bin/vlc --started-from-file file:///home/pi/hdd/DL/

I have a vlc that doesnt want to stop running, even after closing it. When I run ps aux , I get: pi 31284 0.8 2.1 288520 84592 ? Sl 20:10 0:05 /usr/bin/vlc --started-from-file…
-5
votes
1 answer

How to kill all processes from a user using GPU?

How do I kill all processes from a user using GPU? E.g. killall --gpu --user kong
Kong
  • 1,241