Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-03-30
3
Medium Priority
?
627 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
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:
Tobias earned 2000 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

Technology Partners: 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

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Six Sigma Control Plans
Suggested Courses

885 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