Solved

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

Posted on 2009-03-30
3
625 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:
Tobias 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

615 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