Re: Determine if a proc spawned under screen's control

Jan Johansson <[email protected]>
Newsgroups gmane.comp.gnu.screen
Message-ID <[email protected]>
Travis Spencer <[email protected]> wrote:
>I working as a volunteer at school, and one of the things they want me
>to do all the time is search through the network for process that are
>no longer being used (aka, hunt down runaways).

What is the real problem you are trying to solve?

If it is that the processes eat CPU then you should instead limit
the CPU time a process can use. A normal process almost never
eats more than an hour but defunct eats that in notime.

This is what we do in the wrapper for netscape that we had
problems with.

# Make sure it doesn't chew up _all_ of the server...
if [ X"$RUNMODE" != X"$NS6DEBUG" ]; then
    ulimit -c 0;
fi

ulimit -d 524288;
ulimit -v 524288;
ulimit -t 7200;



 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/gnu-screen/

To unsubscribe from this group, send an email to:
 [email protected]

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.