Re: Monitor specific, unrelated processes in top? (and more!…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Schwartz
Date:  
To: Main PLUG discussion list
CC: Patrick C, Mike L Schwartz
Subject: Re: Monitor specific, unrelated processes in top? (and more!)
The man page for top has tons of info.

I am not sure if this is what you are looking for, "YMMV" but part of it
says:
(the quote below is taken from "http://unixhelp.ed.ac.uk/CGI/man-cgi?top"):

       -p : Monitor PIDs as:  -pN1 -pN2 ...  or  -pN1, N2 [,...]
        Monitor only processes with specified process  IDs.   This    option
        can  be given up to 20 times, or you can provide a comma delimited
        list with up to 20 pids.  Co-mingling both approaches  is  permit-
        ted.


        This is a command-line option only.  And should you wish to return
        to normal operation, it is not necessary to quit and  and  restart
        top  --  just issue the '=' interactive command.


HTH,
--
Mike Schwartz
Glendale AZ


On Thu, Jul 31, 2008 at 1:31 PM, Patrick C <> wrote:

> So back to the thread title, how can I monitor the various processes? I
> currently use ps and grep to look at them, but I'd really rather have some
> more information in a self-updating list, like top. Here's the ps/grep line
> that I use right now.
>
> pxc@cista:~$ ps -ef | egrep '(wesnoth|nexuiz|tremulous|pvpgn)' | egrep -vi
> '(screen|grep)'
> 109       5166  5165  0 12:43 pts/3    00:00:06 /usr/games/nexuiz-server
> trem-srv  5614  5613  0 13:13 pts/2    00:00:07
> /usr/lib/tremulous-server/tremded +set dedicated 2 +set fs_basepath +set
> fs_homepath /var/lib/tremulous-server +exec server.cfg +set net_ip localhost
> 110       5690  5689  0 13:23 pts/4    00:00:00 /usr/games/wesnothd -c
> /etc/wesnothd.conf

>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss