used in bash/shell to kill process

learn more… | top users | synonyms

0
votes
0answers
18 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 ...
1
vote
1answer
35 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
179 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
87 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 ...
3
votes
3answers
502 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
181 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
366 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> ...
1
vote
2answers
3k 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
117 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 ...
0
votes
0answers
17 views

DropbBox suddenly restarted with “Killed” message

I have installed DropBox with: cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - And it normally works fine, but today when I was syncing with my online ...
1
vote
2answers
474 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 ...
0
votes
0answers
34 views

Why is the queue option not available for the kill command?

The -q or --queue option for kill command is not available on Ubuntu. The kill command implemented on kernel.org supports this option, but the one implemented by procps does not implement it. What are ...
0
votes
1answer
162 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
108 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
33 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 ...
0
votes
0answers
22 views

How to kill captmon2?

I used the command top to find my active processes : top - 02:54:56 up 8:12, 3 users, load average: 1,54, 1,95, 2,46 Tasks: 237 total, 2 running, 235 sleeping, 0 stopped, 0 zombie %Cpu(s): ...
0
votes
0answers
40 views

strange process of making a slow network

whether this process, making the connection to be slow. how to eliminate it permanently, I have used comment kill -s 9 [PID]. but reappears help me please. tks PID USER PR NI VIRT RES SHR ...
1
vote
1answer
538 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
0answers
10 views

What is the difference between stopping, ending and killing a process? [duplicate]

As I always see the three options in system monitor, I thought I'd ask what the differences are. Even though there seems to be a clear gradation with how violent the commands are (end < stop < ...
0
votes
0answers
106 views

mke2fs hangs forever, ignores SIGKILL

(Ubuntu 14.04) Today I got two cheap 64GB SD cards I ordered from china. I wanted to format one as ext2 for use as an "SSD" in an old laptop (Former owner replaced broken HDD with SD adapter. The ...
0
votes
1answer
78 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
120 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
142 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
387 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
189 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 ...
3
votes
1answer
174 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 ...
2
votes
1answer
43 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
1k 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 ...
2
votes
2answers
127 views

How to Kill and Alternate X session via cli

Can someone tell me how to remove dormant X sessions. This question is similar to Logging out other users from the command line, but more specific to controlling X displays which I find hard to kill. ...
2
votes
1answer
152 views

Is there any reason to use 'kill' instead of 'killall'/'pkill'?

Starting my adventure with Linux a couple of years back, most tutorials and older, more experienced colleagues suggested using the command 'kill', sort of like a replacement for the Process Manager ...
1
vote
0answers
210 views

JBD2 has a Fork Bomb? Kill -9 Wont Work (Ubuntu 12.04)

This process is writing to my disk at 10MB/sec and I cant kill it. I think its a bug/fork bomb in Ubuntu 12.04. See: root@beb:~# ps -efaww|grep jbd2 root 355 2 0 Jun23 ? 00:31:13 ...
0
votes
1answer
150 views

How to create a new user defined command to kill processes using process name?

Suppose I wanted to kill firefox , I just write pidof fi(press tab)refox (appears on its own) , then I write ' kill 'id given by pidof' ' on terminal. I know that I can write 'kill `pidof firefox` ' ...
3
votes
3answers
332 views

Killing several processes

I have one command (/usr/lib/R/exec/R pathtoDifferentFiles) being executed with many different arguments (file names). Looking at htop, I see at least 30 processes created, I want to kill all of ...
2
votes
1answer
256 views

Unity crashes unexpectedly, no option for recovery

Sometimes my Unity session crashes just like that - no window decorations, no panel, but whatever was going on in the background continues, like music playback. Problem is though it cannot be ...
3
votes
3answers
4k views

What process of Google Chrome to kill to close window from terminal?

Google Chrome usually has 8 to 9 processes running, even though only one window is open. Which one of these processes do I kill to safely close the Google Chrome window? Here is my ps -Af | grep ...
0
votes
2answers
144 views

Kill a process of a user Whose username start with a particular prefix?

I want kill specified process of all users in my ubuntu whose username sytarting with 'cs' and 'ec'
4
votes
1answer
2k views

pkill not killing

I have a Script named PirateRadio.py That I am writing a script for. I need to kill and reload the script. Possibly with the same PID. I thought SIGHUP was a sure thing. when i run #pkill -1 ...
6
votes
2answers
850 views

Oneliner command to use kill given tcp port number instead of PID?

I often do e.g. sudo netstat -lpn |grep :8088 view the output tcp6 0 0 :::8088 :::* LISTEN 11189/java and then sudo kill -kill 11189 I'd ...
1
vote
2answers
84 views

How to close all wifi password message windows at once?

I keep my computer on at night. During this time the router stops and starts multiple times. I have checked connect automatically to the connection. When I see the computer in the morning, I have the ...
3
votes
1answer
280 views

disable prtscr+alt gr+e , accidentally killing session

when i press the key combination: altr gr + prtscr + e my session gets killed, either x or a tty. i discovered this by (repeated) accident... this was not an issue for me before. my current laptop ...
0
votes
1answer
208 views

Docky not showing up in the task manager?

Docky is frozen, but I can't find it in the task manager. How do I kill it?
0
votes
1answer
1k views

Unmount gvfs samba share with open file

I have a samba share mounted. I'm trying to unmount it on the commandline. $ gvfs-mount -u smb://server/root/ Error unmounting mount: Filesystem is busy I ran lsof to find open files, but I can't ...
0
votes
1answer
130 views

Ubuntu 13.04 not responding

I'm running multiple process simultaneously and then the system not responding. Not even showing the 'Force Quit' dialog. What I'm doing is switching to TTY to reboot the system, or to execute kill -9 ...
3
votes
2answers
286 views

starting and killing evince process in a loop

I have certain PDF files. I want to inspect each of them for 20 seconds. The way I was trying to do that is like following: for file in *.pdf; do echo $file; evince $file; sleep 20s; killall evince; ...
0
votes
1answer
303 views

How to stop/kill “usr/share/python usr/share/apport/apport”

I have this process "usr/share/python usr/share/apport/apport" I cannot kill it by PID as the PID is changing to fast as the process keep restarting.
7
votes
1answer
9k views

How do I enable Ctrl-Alt-Backspace to kill the X server? [duplicate]

Unfortunately, there's still a need to kill the XServer from time to time. Since upgrading to Raring ctrl+alt+backspace is disabled and I can't find this option in the keyboard settings any-more: ...
0
votes
1answer
145 views

Kill processes from another user

I have set up Ubuntu server as a VM, and think I've installed vnc on it; However, I have been trying for a while. When I couldn't connect using the vnc from any other machine, on both the same lan ...
0
votes
1answer
123 views

Can I found out that somebody killed my process?

I have a script that I start in the background. Few hours later, process is not running anymore. Is there any way to find out that somebody killed my process and that it didn't die by itself? Thanks ...
0
votes
1answer
816 views

Not able to kill a task using kill -9

I am trying to kill a process sublime_text using the kill -9 command. But the process is still there and so I am not able to open another instance of it. root@alwin-linux:~# ps aux|grep subl ...