used in bash/shell to kill process

learn more… | top users | synonyms

0
votes
0answers
33 views

Using “ps” “kill” and “top” to find and resolve problems with executables? [on hold]

OK so for my controlled assessment I need to do some primary research via emails or forum posts. I thought that since I've used this site a lot I would ask here. So say I have an executable file ...
0
votes
2answers
35 views

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 ? ...
1
vote
0answers
49 views

how to kill process if we are not able to kill using normal kill pid command [closed]

If kill PID command fails in Linux/UNIX, then how to kill that process ? And what are such scenarios? I am using Ubuntu 14.04LTS
0
votes
1answer
27 views

How do I kill a runing fortran code from inside a shell script that access the same code?

I have to use a FORTRAN code which has a "menu style" interface. I access the code typing a command on the terminal which opens the main menu. From that point and beyond I type a number and enter it ...
0
votes
1answer
43 views

Not able to kill Mysql process

I was trying to uninstall mysql using sudo apt-get --purge remove mysql-server but getting following error E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: ...
0
votes
1answer
14 views

Process command Issue (PSBeginner Issue)

first of all sorry for this lame question ,after killing it is still runinng , i am a beginner , rohit@something:~$ ps PID TTY TIME CMD 4596 pts/1 00:00:02 bash 4618 pts/1 00:00:...
0
votes
1answer
50 views

What command is the most effective for listing processes? [closed]

I've seen lots of developers use ps -ef to list processes and kill them (such as in ENCOM, devs of OS-12). However, there is also htop. A friend told me that it is only a wrapper around ps and ...
0
votes
0answers
14 views

/bin/kill -9 - 1 broken?

In the old days, you could just: $ /bin/kill -9 -1 to kill all processes of a given user (the one it's running as). It looks broken now (Ubuntu 14.04 at least): kill reports success (0 return ...
2
votes
2answers
20 views

How to kill proccess that spawns several java programs that each take a port

I have a program .sh that spawns several child proces like so: javac *.java rmiregistry 3300 & sleep 5 java Node 3300 3001 1 & sleep 1 java Node 3300 3002 1 & sleep 1 java Node 3300 ...
-2
votes
2answers
97 views

Why is kill command not working on Openshot?

I am using OpenShot version 1.4.3 in Ubuntu 14.04 (64 bit). Here is my system details: lsb_release -a: Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 ...
0
votes
2answers
99 views

How to Force Quit a not responding application? [duplicate]

VLC doesnt quit. How do I force quit the application?
0
votes
3answers
76 views

Kill all processes linked to a port

Kill all processes on port 3000. This is what is tried: ubuntu@111:~/chatapp$ sudo netstat -peanut|grep 3000 tcp6 0 0 :::3000 :::* LISTEN 0 ...
1
vote
0answers
40 views

Cheese wont die

Im trying to figure out a problem Im having with a motion server, and a given CCD camera, on /dev/video0 So, I had been viewing the camera stream using cheese. But now cheese has hung up, and wont die....
0
votes
0answers
36 views

disable all netbeans modules?

How do I disable all Netbeans modules? thufir@mordor:~$ thufir@mordor:~$ netbeans --list OpenJDK 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0 ^C thufir@mordor:~$...
0
votes
0answers
33 views

launch xkill from icon?

While alt-F2 will allow me to launch xkill, how do I add an icon for that in the dock? I'm not using the Gnome panel. Using Ubuntu unity, 15.10, wily
1
vote
1answer
33 views

System almost halted by backgrounded `yes` command

I recently ran: yes Pandas > WantBamboo & Though I didn't mean to put the & at the end... Something important then came up and I had to leave my computer for a couple of minutes, when I ...
0
votes
0answers
33 views

Some applications don't stop in Ubuntu 15.10

After installing Ubuntu 15.10 I've noticed that some applications don't really stop after you close them. It's the case of Ubuntu Tweak and qbittorrent. When you close them and try to open them again ...
0
votes
0answers
56 views

Kill process: SIGKILL does not work

There is a strange thing that never happened to me. kill -9 PID does not work. The process is still there. I tried also with htop -> F9 -> Enter but nothing. How can I resolve this problem? ...
0
votes
0answers
28 views

How to kill a process? [duplicate]

This is a very specific question, and I am sorry if there is a duplicate elsewhere: I have a script which uses while [true] and it is supposed to do a job every 10 minutes. Until now I used to kill ...
0
votes
0answers
137 views

Ubuntu: i can't kill some processes and Apache doesn't restart

I can't restart Apache: if i try to start it, the error is this: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down ...
-1
votes
1answer
68 views

Bash script kill not working [closed]

#name - name of killing process pidof name | kill Why it doesn't work?
4
votes
1answer
75 views

How to kill a process in state “T” (Terminated)

this is a very specific question, I am sorry if there is a duplicate somewhere but I haven't been able to find it here or otherwise. In a server I have a process in state T (Terminated). I know I ...
1
vote
1answer
461 views

How to kill X server using a key combination? [duplicate]

Is there a way to kill the current X server using a keyboard combination? Is it possible to do so without having sudo permissions?
1
vote
1answer
63 views

Safe to kill a PID

Process Ids are generated in such a way that they're unique and tend to either increment, wrapping at some point, or be randomly generated, as far as I can tell. It seems there's a small but real ...
2
votes
1answer
75 views

Why does killall (sometimes?) needs to be applied twice?

Why does killall (sometimes?) need to be applied twice? Here's an example where a "double" killall is needed to end the process. When and why does a process needed to be killed "twice"? What happens ...
16
votes
3answers
2k views

Kinder / gentler / subtler equivalent alternative to killall (e.g. “endall”)?

How do I end all processes with the same name in a more gentle way than killall does? I don't want to interrupt the processes, but leave them time to properly quit. See also: How do I kill ...
0
votes
0answers
42 views

killing process on port does not work

i am trying to kill a process that is using port 8180 to find the process i did: sudo netstat -lpn |grep :8180 Then i got the following result: tcp 0 0 0.0.0.0:8180 0.0.0.0:...
0
votes
0answers
23 views

Killing other user's PID restarts gdm

When using advice provided here, listing users with who -u and then kill <PID-of-other-user" I succeed in killing that user, but it restarts my own gdm and puts me back at login screen. My ...
3
votes
1answer
79 views

When exiting Byobu, close all non-exited vim sessions

I have configured Byobu to open a dozen text files at startup: new-session -n memo /home/nico/bin/vim-my-memo.sh; new-window -n client1 /home/nico/bin/vim-client1.sh; [...] It works well, but ...
2
votes
2answers
1k views

What are the different htop kill signals?

I have recently started using htop, and I have been needing to kill processes, but when pressing F9 on the process, it has been giving me this list of options, I just chose the one which is selected ...
0
votes
4answers
261 views

Forcefullly kill a process in Ubuntu [duplicate]

How can I forcefully stop a process in ubuntu, like we can do from task manager in ubuntu. look its not the same question as you indicate here. I want a feature in ubuntu 15 which is just same as task ...
6
votes
3answers
18k views

how can I see background process in Ubuntu? And kill unnessary processes?

In windiws by using Task manager we can see how many .exe files are runing. Also in command prompt we use tasklist command to see processes. In ubuntu how can I see all processes? and kill unwanted ...
2
votes
1answer
878 views

How to kill nc -k -l without restart?

I have a script running behind the screen which has a command nc -k -l 12345. Is there any workarounds I could kill this daemon without restarting the machine? Ubuntu 14.04
3
votes
2answers
555 views

Ubuntu Terminal: C program (or other solutions) to kill processes running on a specific port and start xampp [closed]

Can anyone help me? The program's objective is to kill the processes running on port 443 and to then start xampp automatically. What I've done: #include <stdio.h> #include <stdlib.h> ...
2
votes
2answers
10k views

How to stop X server in Kubuntu 15.04?

In Kubuntu 14.04 and 14.10 I stop the X server with sudo /etc/init.d/lightdm stop but it don't works anymore. How to stop it, to install a graphic driver ?
0
votes
2answers
436 views

why i why i can't kill viber?

i cant kill viber process in terminal. $ pkill Viber or $ pgrep Viber 2849 $ kill 2849 or $ killall -v Viber Killed Viber(2849) with signal 15 not work ! but in System Monitor by right-...
1
vote
2answers
2k views

How to kill a single thread from Terminal in Ubuntu?

I'm new to Ubuntu and new here. I need to know this. How do I kill a single thread from Terminal in Ubuntu? I have mozilla opened and it has 45 threads. I want to kill one of it. I've already search ...
1
vote
1answer
688 views

Is ubuntu able to kill a process because of low memory and how to know it

Everything is in the title. I'm running a play framework and a redis process on my ubuntu 2GB RAM VPS but last night the 2 processes suddenly crashed without any log (which is weird because they ...
1
vote
1answer
148 views

Overheating causing applications to crash?

I am playing Cities Skylines on my Notebook. It's a Clevo W230ST. Specs: i7 4700MQ GTX 765M 8 Gig Ram Ubuntu 14.04. I am using the Nvidia 331 Driver. My questing is: Does some part of Ubuntu or ...
1
vote
0answers
51 views

Map 'close application' to mouse wheel click on XFCE panel

I like mousewheel clicking to close tab on firefox, great idea, and I'm now so used to it that I expect it to happen on XFCE panel applications. Which obviously it doesn't. Is there any way I can map ...
0
votes
0answers
32 views

How to forcequit/kill in Unity? [duplicate]

Im using Unity and some application is hanging up. A sub screen from the install printer program. As in I have no idea what program, window. In gnome, and mate, there is the force quit applet. I ...
2
votes
1answer
2k views

How to kill MySqlWorkBench process in Ubuntu?

I have installed Mysql Workbench on My machine (ubuntu 14.04 LTS) Lately this software is hanging alot. I want to kill the process I ran the command ps aux but I'm unable to find the Mysql ...
0
votes
1answer
186 views

Killing every root process over a certain pid

I want to kill every process that is root and not mine. Now there's: sudo pkill -u root But... Well, it kind of, I don't know, MAKES THE WHOLE COMPUTER TO CRASH. So, I need a way to kill every root ...
1
vote
2answers
288 views

Will “kill -SIGTERM” stop “tail -f”?

Just as the title says, Google gives me nothing and I can't test it on this server. The command as is follows: tail -f <file> | fgrep --line-buffered "string" | sed -u 's/stuff//g' >> ...
0
votes
2answers
344 views

Run a browser on the active window

I have to lunch multiple browsers (thousands), but don't want to open a new window every time a browser is launched; instead, I need to open the webpage, process the content and go to the next. When ...
3
votes
1answer
587 views

Stop/kill running script if $USER != “root”

I'm working on a scripts that needs to be executed as root, else it should stop everything. #!/bin/bash validationRoot() { if [ $USER != 'root' ] then echo "You're not root! ...
2
votes
1answer
533 views

How to close only one window of an application?

I know that if I get the sid through : ps -ax | grep firefox and use : kill -9 "sid" I will close all the windows of the program. How can I close only one window of an application running through ...
4
votes
1answer
409 views

Sending different kill signals to init - how to log

I have to write a C program to check how init reacts to different kill signals, however I am not sure how to log it - for example signal number 14 crashes the ubuntu, then some higher one turns it off....
2
votes
1answer
137 views

How to interrupt the passwd command?

When I type passwd, I get Changing password for <user>. (current) UNIX password: Now suppose at this point I change my mind and I decide to stay with my old password. What should I do? Ctrl +...
0
votes
4answers
3k views

Kill process tree using terminal?

Is there a way to kill a process tree using the terminal? By killing a process tree, I mean killing all descendants of a process along with the process it self. I tagged this question htop because I ...