[newbie] A command to list running processes.

2004-02-12 Thread Marc Resnick
Is there a shell command to list running processes? I used screen to start up 
a game server, then detached. If I want to stop it, what do I do?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] A command to list running processes.

2004-02-12 Thread Christoph Eckert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Donnerstag, 12. Februar 2004 23:58 schrieb Marc Resnick:

 Is there a shell command to list running processes? I used
 screen to start up a game server, then detached. If I want
 to stop it, what do I do?

ps -aux | grep NAME

or

ps -e | grep NAME

You can kill processes by name or by PID:

killall mozilla-bin
kill 0815


Gruß / regards


ce

==
Jabber: [EMAIL PROTECTED]

SuSE 8.0 on a Dell Inspiron 8200:
http://home.t-online.de/home/mchristoph.eckert/inspiron8200/
==


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFALAYrgCBqix845w0RAuL2AJ4qULfz00dIivOVaHQrQmwjA04OnwCfY2PV
kRfx+3TS0LiJyRU78FJ8MT8=
=bsbX
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] A command to list running processes.

2004-02-12 Thread Dennis Myers
On Thursday 12 February 2004 04:58 pm, Marc Resnick wrote:
 Is there a shell command to list running processes? I used screen to start
 up a game server, then detached. If I want to stop it, what do I do?
You can see everything running and its pid # by typing top in a console, 
does not have to be root. HTH
-- 
Dennis M. linux user #180842


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] A command to list running processes.

2004-02-12 Thread Lee B.
Dennis Myers wrote:

On Thursday 12 February 2004 04:58 pm, Marc Resnick wrote:
 

Is there a shell command to list running processes? I used screen to start
up a game server, then detached. If I want to stop it, what do I do?
   

You can see everything running and its pid # by typing top in a console, 
does not have to be root. HTH
 

How does one page down while running Top, so you can see the processes 
that don't fit on the first screen?

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] A command to list running processes.

2004-02-12 Thread Dennis Myers
On Thursday 12 February 2004 08:03 pm, Lee B. wrote:
 Dennis Myers wrote:
 On Thursday 12 February 2004 04:58 pm, Marc Resnick wrote:
 Is there a shell command to list running processes? I used screen to
  start up a game server, then detached. If I want to stop it, what do I
  do?
 
 You can see everything running and its pid # by typing top in a console,
 does not have to be root. HTH

 How does one page down while running Top, so you can see the processes
 that don't fit on the first screen?
Good question, I have never bothered to look at more than the full screen 
shows because the lower you go the more asleep those tasks are. Notice the 
real technical language asleep,  well I am not a programmer, just a dabbler 
in linux. HTH
-- 
Dennis M. linux user #180842


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] A command to list running processes.

2004-02-12 Thread John Drouhard
On Thu, 12 Feb 2004 18:03:22 -0800
Lee B. [EMAIL PROTECTED] wrote:

 Dennis Myers wrote:
 
 On Thursday 12 February 2004 04:58 pm, Marc Resnick wrote:
   
 
 Is there a shell command to list running processes? I used screen to start
 up a game server, then detached. If I want to stop it, what do I do?
 
 
 You can see everything running and its pid # by typing top in a console, 
 does not have to be root. HTH
   
 
 
 How does one page down while running Top, so you can see the processes 
 that don't fit on the first screen?
 
 

You can't. What I do is sort by different things. I'll sort by maybe CPU
usage (CTL-P), then maybe Age (CTL-A), then maybe by users (press u,
then type the name of the user). If I want to see all the processes,
then I type ps aux | less

John


-- 
Thu Feb 12 22:04:36 CST 2004
--
Registered Linux User # 315649
Registered Machine # 201001
 
To err is human.
To blame someone else for your mistakes is even more human.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com