Exit program & Messages trouble - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +--- Thread: Exit program & Messages trouble (/thread-1898.html) |
Exit program & Messages trouble - lia - 2006-07-16 Is there any way of being able to EXIT a program without having all my windows to close? EG. Ctrl+Alt+Del and then chose which program you wanna terminate (if its not responding etc) Im on FC4 and FF -------------------------- Also, here on the forum I have noticed lately that if I want to respond to a few comments under a same topic, my comments end up squeezed into ONE instead of multiple. Why and what can I do about it? Exit program & Messages trouble - anyweb - 2006-07-16 open a terminal and do this Quote:top Code: Tasks: 113 total, 5 running, 107 sleeping, 0 stopped, 1 zombie it should list a bunch of processes... (CTRL_C to quit top) if you know which process you want to close (kill) then you must first find out it's PID (process identification number) eg: if you want to kill/close FIREFOX then try this in a terminal stage one: find it Code: ps aux |grep firefox results below... Quote:[anyweb@localhost ~]$ ps aux |grep firefoxanyweb 3531 0.0 0.2 4396 1064 ? S Jul14 0:00 /bin/sh /usr/lib/firefox-1.5.0.4/firefox -UILocale en-US stage two: kill it (close the application) Code: kill -9 3531 the 3531 is the PID of the program, the second one listed is me actually grepping it in the firstplace... if more than one PID is listed for your chosen program then you should kill each one individually or try pkill PID done ! cheers anyweb Exit program & Messages trouble - lia - 2006-07-16 That's interesting, I must try that some time BUT sometimes everything just hangs.. well it thinks.. and thinks... and nothing happens. Then I could click terminal but it wouldnt open because the pc is busy trying to figure out the previous command that made it 'crash' in the first place... what to do then? And what about the messages in forum? Quote:open a terminal Code: Tasks: 113 total, 5 running, 107 sleeping, 0 stopped, 1 zombie it should list a bunch of processes... (CTRL_C to quit top) if you know which process you want to close (kill) then you must first find out it's PID (process identification number) eg: if you want to kill/close FIREFOX then try this in a terminal stage one: find it Code: ps aux |grep firefox results below... Quote:[anyweb@localhost ~]$ ps aux |grep firefoxanyweb 3531 0.0 0.2 4396 1064 ? S Jul14 0:00 /bin/sh /usr/lib/firefox-1.5.0.4/firefox -UILocale en-US stage two: kill it (close the application) Code: kill -9 3531 the 3531 is the PID of the program, the second one listed is me actually grepping it in the firstplace... if more than one PID is listed for your chosen program then you should kill each one individually or try pkill PID done ! cheers anyweb </div></blockquote> Exit program & Messages trouble - anyweb - 2006-07-16 if its hanging look at the hard disc activity LED on the computer, if its blinking then the computer is working (probably moving stuff on the swap partition, hence slow or non responsive) what problem with messages on the forum ?? Exit program & Messages trouble - lia - 2006-07-17 Also, here on the forum I have noticed lately (sometimes) that if I want to respond to a few comments under a same topic, my comments end up squeezed into ONE instead of multiple. Why and what can I do about it? Quote:if its hanging look at the hard disc activity LED on the computer, if its blinking then the computer is working (probably moving stuff on the swap partition, hence slow or non responsive) Exit program & Messages trouble - noriko - 2006-07-17 or you can just use the kde or gnome task monitor app. it should be installed by default with the desktop env. kde :: KSysGuard gnome :: gnome-system-monitor Exit program & Messages trouble - lia - 2006-07-17 What do they do and how do I work them? Im a noob. Quote:or you can just use the kde or gnome task monitor app. Exit program & Messages trouble - noriko - 2006-07-18 Quote:What do they do and how do I work them?Im a noob. well, they are ools very much like the windows task-manager [ctrl]+[alt]+[del] i've simply uploaded some shots for to feast your eyes on. the gnome system monitor - is prefixed : gsm- the k[de] system guard - is prefixed : ksg- [/url][url=http://rl.j2k.cc/sys]http://rl.j2k.cc/sys they are launched with the commands .. gnome-system-monitor or ksysguard if they fail then you'll need to install them. through yum or whatever the fed's package manager is. B) btw you don't need both.just thought i'd point it out since i don't know what your [de] is. i'd prefer gsm though. Exit program & Messages trouble - tek-69 - 2006-07-21 I have an old and somewhat slow computer, and sometimes things hang like you mentioned(with heavy drive activity etc.). One thing that sometimes works for me is, instead of trying to open a graphical terminal. do a ctrl-alt-f1 to get into a real term. I don't know why but it seems to switch over to those terminals quicker than it can load a graphical term. From there you can kill processes like anyweb suggested. When your done, do ctrl-alt-f7 to go back to your desktop. It doesn't always help but it has gotten me through some rough spots. :) Exit program & Messages trouble - noriko - 2006-07-21 might i also add ::: there is another program that comes along with teh 'kill' [tools[i think-well it is for me[on archlinux]]] it's killall that tool takes teh prcocess by name.. no instead of, top, kill pid.. you can simply do.. killall firefox killall -g root, etc.. see killall --help or man killall for more.. sorry i forgot that one last post.. :) |