LinuxQuestions.org
Review your favorite Linux distribution.
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 07-07-2003, 07:52 PM   #1
HeavyWater
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 07-07-2003, 08:33 PM   #2
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Type: top at the command line.
 
Old 07-07-2003, 09:32 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 07-07-2003, 09:39 PM   #4
HeavyWater
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
That's exactly what I was looking for...Thanks!

HW
 
Old 07-07-2003, 09:41 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Pleasure ;)

Cheers,
Tink
 
  


Reply


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
Active X paul85 Linux - Software 5 07-01-2005 07:55 PM
How to become more active? mikedeatworld General 2 08-26-2004 03:57 PM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM
Active X mplug182 Linux - Software 0 09-30-2003 09:06 AM
Monitoring Processes Bee Linux - General 4 11-19-2001 08:33 AM

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

All times are GMT -5. The time now is 03:12 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