Solved

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

Posted on 2009-03-30
3
607 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 61

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now