Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-02-2003, 12:28 AM   #1
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
Question How do i stop a locked program?

I've started using apt and synaptic for my downloads. Apparently I had 2 versions of guile in, it warned me I told it to remove the older version. That was about 30 minutes ago, synaptic is still running but shows no signs of life. Hourglass is turning, but otherwise it is un-responsive.

1) How do I know if it a program is actually doing something?

2) how do I stop a frozen program from running?
Old 09-02-2003, 12:33 AM   #2
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
You can see all running programs by the command:

$ ps aux

use a pipeline to make it easier to read or grep particular program that you want to see like this:

$ ps aux | less
$ ps aux | grep something

it will show you the Process ID of a running program. If you want to stop it(coz it freezed?) just kill the process ID like this:

$ kill <a Process ID>

Hope this help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to stop program looping? twirl Programming 5 10-10-2005 07:05 AM
SSH sessions locked to one program jav Linux - Software 2 11-17-2004 11:06 AM
Stop java program(threaded program..should end cleanly) rmanocha Programming 4 11-09-2004 10:36 AM
How do I stop a program that has crashed? Fe98 Linux - Newbie 4 12-08-2003 08:09 AM
A program locked up. How do I kill it? Travis86 Linux - Newbie 8 01-04-2003 03:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:36 AM.

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