Share your knowledge at the LQ Wiki.
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 05-01-2004, 11:32 AM   #1
Registered: Apr 2004
Posts: 53

Rep: Reputation: 15
Please help easy questions, how do I stop a process from running in SSH?

Hello, what is the command to stop a process from running in SSH? Right now I am manually rebooting my server, but I would like to know how to stop a process from running without having to do so. In TOP I have:

2267 root 19 0 5400 5380 1408 R 33.3 0.5 10:24 0 q3ded
2480 root 19 0 5396 5376 1400 R 33.3 0.5 4:09 0 q3ded
2624 root 17 0 5404 5384 1408 R 32.7 0.5 1:25 0 q3ded
2160 root 9 0 21876 21M 1572 R 0.3 2.1 0:28 0 q3ded

I would like to stop those. Thanks
Old 05-01-2004, 11:38 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
If you want to kill them all:
killall q3ded

To kill one at a time you need to use the pid:
kill pid

man kill
Old 05-01-2004, 11:38 AM   #3
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
Wow your running 4 quake servers?

I don't really use top that much. This is how I kill processes:
type 'ps x' as root, then find the pid of the processes you want to kill. Then type 'kill <pid>' and you should be good to go.
Old 05-01-2004, 12:03 PM   #4
Registered: Apr 2004
Posts: 53

Original Poster
Rep: Reputation: 15
hehe yes I am Actually now I have cut it down to 2 since everyone plays threewave and CTF only


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
SSH connection termination during a running process... jayemef Linux - General 1 08-16-2005 11:41 AM
Stop Startup Process easyE Linux - General 2 05-03-2005 05:37 PM
Continuously running do I stop it? Holly Linux - Newbie 2 02-27-2004 12:39 AM
how to stop a process? frostmagic Programming 14 12-05-2003 11:02 AM
rc.d with K to stop the process... psyklops Linux - General 1 10-18-2003 01:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:06 PM.

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