Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

How to capture/log all processes cpu utilization?

by koti688 (Sexton)
on Mar 31, 2009 at 05:08 UTC ( #754325=perlquestion: print w/ replies, xml ) Need Help??
koti688 has asked for the wisdom of the Perl Monks concerning the following question:

How to find Total CPU Utilization, Resource utilization of a Linux System.?

I am running a backup from my windows system on to the Linux server. I want to capture CPU Utilization, Resource utilization through Perl script of that Linux system. i want like, it will aggregate all the statistics from a start point of time to end point of time of any particular operation

Please help.

Comment on How to capture/log all processes cpu utilization?
Re: How to capture/log all processes cpu utilization?
by naikonta (Curate) on Mar 31, 2009 at 05:52 UTC
    Well, any result from searching CPU on CPAN fits to what you need?

    However, if what you want is measuring processes within the program, perhaps Benchmark can help you.


    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Re: How to capture/log all processes cpu utilization?
by planetscape (Canon) on Mar 31, 2009 at 07:36 UTC

    So what have you tried? You must show at least minimal effort to help yourself; PM is not a script-o-matic.

    HTH,

    planetscape
Re: How to capture/log all processes cpu utilization?
by cdarke (Prior) on Mar 31, 2009 at 07:44 UTC
    sar
      sar ?? what is it ?
Re: How to capture/log all processes cpu utilization?
by zentara (Archbishop) on Mar 31, 2009 at 10:36 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2014-12-25 01:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls