Solved

How to capture/log all processes cpu utilization of Linux Server through a perl script?

Posted on 2009-03-30
3
623 Views
Last Modified: 2013-12-26
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

My inputs for my perl script should lie the Server ip only ?? please help to get the correct perl script
0
Comment
Question by:koti688
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 24027063
What you ask is impossible to do with PERL.
You can use SNMP to read data remotely or enable accounting locally ("man accton")
0
 
LVL 10

Accepted Solution

by:
MadShiva earned 500 total points
ID: 24031210
Dear,

I don't understand what you mean with : server ip only ?

This is a module that you could use for get the system statistics, also in the link the module is explained how to use it.

http://cpan.uwinnipeg.ca/htdocs/Sys-Statistics-Linux/Sys/Statistics/Linux.html


Best Regards
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
In this post we will learn different types of Android Layout and some basics of an Android App.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question