LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Monitoring Active processes (https://www.linuxquestions.org/questions/linux-newbie-8/monitoring-active-processes-70819/)

HeavyWater 07-07-2003 08:52 PM

Monitoring Active processes
 
I was wondering if there is a way to monitor which processes are running. I have the game server program which I launch at startup but can't verify if its running or not. The only way I can tell is if I try to connect from the client software and if i can't connect, then I assume that it's not running. I tried using the ps command but it does'nt show up there. Any help would be greatly appreciated.

Thanks,

HW :Pengy:

twilli227 07-07-2003 09:33 PM

Type: top at the command line.

Tinkster 07-07-2003 10:32 PM

Re: Monitoring Active processes
 
Quote:

Originally posted by HeavyWater
[I tried using the ps command but it does'nt show up there. Any help would be greatly appreciated.
As twilli said, top does the trick ...

However, so should ps :}

Maybe you just need to use some
parameters? For instance, if you're loged
in as john_doe, a simple 'ps ' won't show
you any daemons that are being run by
root or any other system users.

Try a 'ps -A', if it's too much output
pipe it through grep and search for the
name of the server process 'ps -A | grep <server>'

Cheers,
Tink

HeavyWater 07-07-2003 10:39 PM

That's exactly what I was looking for...Thanks! :D

HW

Tinkster 07-07-2003 10:41 PM

Pleasure ;)

Cheers,
Tink


All times are GMT -5. The time now is 08:38 PM.