LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2003, 12:32 PM   #1
AskMe
Member
 
Registered: Jul 2003
Posts: 123

Rep: Reputation: 15
How to Kill handed/crash applications


How can I stop or kill some application which is not responding.. without hurting other applications which are running... I mean like in windows Cntr+Alt+Del.. return all processes you select one and say end task..... like that...

Thanks
 
Old 09-23-2003, 12:34 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
from a command line (like xterm or rxvt) type as follows:
'ps -A'

this will produce a long list of all the software running on your machine. on the left you will see a list of numbers labeled 'PID' or Process ID. you can then type

'kill <PID>' where <PID> is the process id of the app you want to stop. for more information on kill and ps read the man pages ... ie 'man kill' and 'man ps'.

hope that helps,
jpbarto
 
Old 09-23-2003, 03:30 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Or even, click the start button, run command and type xkill. Then click on the program you want to kill.
 
Old 09-24-2003, 12:17 PM   #4
AskMe
Member
 
Registered: Jul 2003
Posts: 123

Original Poster
Rep: Reputation: 15
ps -A shows lots of file manes.... Most of them is strange to me(as a windows user). How to become familiar with some basic Linux applications names... functions... etc....
By the way, how can I know if file is executable one or not?(like com, exe, bat of Windows)
 
Old 09-24-2003, 12:30 PM   #5
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
most of the process running you can quickly lookup on the web or you can bring up the system documentation for them ...
for example on mine I have a couple process running

349 xinit
227 agetty
542 sshd

etc...

to bring up more information about an app running you can usually type 'man <app-name>'. for example 'man sshd' will bring up information about the SSH server that is running.

as for executable that is determined by file permissions... not by file extension. if you execute 'ls -l' to get a detailed directory listing on the left of the files you will see a string of characters similiar to this:

rwxr-xr-x root users ... etc
This means that root is the owner of the file, users is the group of the file. As such the first three letters (rwx) mean that the owner has read, write, and execute permissions. The second group (r-x) means that members of the file's group have read and execute permissions and the third group (r-x) means that everyone has read and execute permissions. the 'x' or executable permission is what makes a file executable.

in a nutshell

jpbarto
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple applications crash with Signal 11 in SIGSEGV k41184 Linux - Software 14 04-18-2006 01:19 AM
cannot kill X without system crash amobius Linux - Software 1 10-04-2005 06:25 PM
kde applications crash j-ray Linux - Software 2 05-14-2004 09:37 AM
switching mouse from right handed to left handed niverson Linux - Hardware 5 03-18-2004 09:32 PM
XMMS crash, 100% cpu, even root cant kill it? gundelgauk Linux - Software 12 11-01-2003 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration