Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by strredwolf (Chaplain)
on Jan 30, 2001 at 08:41 UTC ( [id://55181]=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://55181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-24 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found