http://www.perlmonks.org?node_id=55181

strredwolf has asked for the wisdom of the Perl Monks concerning the following question:

TSIA. Somehow the wsproxy (here) starts grabbing CPU like it's no tomorrow. I'd like it to autodetect that and kill itself (maybe giving some diagnostics as to *where* it's buzy-looping).

Originally posted as a Categorized Question.

  • Comment on How do I find out how much CPU a process is using?

Replies are listed 'Best First'.
Re: How do I find out how much CPU a process is using?
by Gloom (Monk) on Jan 30, 2001 at 21:16 UTC
    You should take a look to the BSD::Resource module ( focus on getrusage to now how much a process consume cpu time )

    Hope this will help you in your quest of wisdom

Re: How do I find out how much CPU a process is using?
by jeroenes (Priest) on Jan 30, 2001 at 21:22 UTC