megiddo_99 Posted September 30, 2004 Report Share Posted September 30, 2004 Another ( I'm sure, simple ) task that I need to ask how to do... how do I get a list of the apps that are running, and then kill it? Thanks for your help! Quote Link to comment Share on other sites More sharing options...
bvc Posted September 30, 2004 Report Share Posted September 30, 2004 (edited) SEE: man ps simple way= ps -A Others=lsdev socklist ps auxf ps -A ps auxO-s ps aux | grep "[proc_name]" example ps aux | grep "[X]" or ps aux | grep "[X] " (thx aru!) procinfo (requires the procinfo pkg) SEE: man killall killall app_name SEE: man kill kill -9 PID_number Edited September 30, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
FX Posted September 30, 2004 Report Share Posted September 30, 2004 Open a terminal. Type "top". The column all the way on the left is the PID or process id. Find the one you want and the in another terminal type "killall kill <pid #>" If that doesn't work try "killall kill -9 <pid #>". The -9 is a no messing around, kill it "now" command. FX. P.S. Man I hope I got that explanation right. Quote Link to comment Share on other sites More sharing options...
fred_the_fish Posted September 30, 2004 Report Share Posted September 30, 2004 Open a terminal. Type "top". The column all the way on the left is the PID or process id. Find the one you want and the in another terminal type "killall kill <pid #>" If that doesn't work try "killall kill -9 <pid #>". The -9 is a no messing around, kill it "now" command. FX. P.S. Man I hope I got that explanation right. <{POST_SNAPBACK}> FX - you can kill / seg fault / sleep pids from TOP too, I just can't remember which key u need to press... so read the man :P (man top) Quote Link to comment Share on other sites More sharing options...
aperahama Posted September 30, 2004 Report Share Posted September 30, 2004 To get the "kill cursor" press (at the same time) Ctrl-Alt-Esc and click on the application you want to kill. This does not bring up a list of running programmes though but its great for a window that won't close or whatever. Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted September 30, 2004 Report Share Posted September 30, 2004 Hello aperahama (and a neighbour). Your recommended method is the one I have been using for over a couple of years now. IT IS THE SIMPLEST OF THE LOT. Good thing though about Linux and Mandrake in particular, is that I rarely ever have to use it so take that and shove it Microsoft (just could not resist the temptation so could not help myself ) Quote Link to comment Share on other sites More sharing options...
papaschtroumpf Posted September 30, 2004 Report Share Posted September 30, 2004 IT IS THE SIMPLEST OF THE LOT. <{POST_SNAPBACK}> of course it implies that what you're trying to kill is an app with a window. I'd recommend everyone learns to use ps and kill/killall, that should be part of the basic linux skills. The top method works well too. Quote Link to comment Share on other sites More sharing options...
megiddo_99 Posted October 1, 2004 Author Report Share Posted October 1, 2004 Thank you all so much for your help... another question... :P How do I delete stuff from my trash? it says permission denied and now my HD is full.... Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted October 1, 2004 Report Share Posted October 1, 2004 Right click on the trash icon and select "empty". Quote Link to comment Share on other sites More sharing options...
megiddo_99 Posted October 1, 2004 Author Report Share Posted October 1, 2004 Right click on the trash icon and select "empty". <{POST_SNAPBACK}> that's what I did, it said permission denied... but never mind, I just logged in as root and emptied it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.