Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?

Replies are listed 'Best First'.
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 (Chancellor) 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 zentara (Archbishop) on Mar 31, 2009 at 10:36 UTC
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 ?

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?
[stevieb]: ahhh yes, it *is* a ref. I had forgotten that. I too have learned something. I quit too!!
[marioroy]: Is List::Util::XS a core Perl module?
[stevieb]: corelist List::Util::XS says "List::Util::XS was first released with perl v5.10.1"
[stevieb]: so yes, since v5.10.1 :)
[MidLifeXis]: According to [metaperl:// corelist], Perl 5.10.1
Lady_Aleena blurbles. One of her favorite modiles is now in "maintenance mode" in favor of a new fangled module.
[MidLifeXis]: D'oh. Slow out of the gate.
[marioroy]: Thanks stevieb, MidLifeXis.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2017-05-24 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?