CPU and Memory Statistics Collection Across Many Servers


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers CPU and Memory Statistics Collection Across Many Servers
# 1  
Old 11-22-2013
CPU and Memory Statistics Collection Across Many Servers

Hello geeks once again, many thanks for help in times past, you guys are awesome!

But am here again, but now this is way heavy for me. Find below for my challenge:

*** I need to collect CPU & RAM stats across 26 servers.

*** I don't have the luxury of deploying an NMS, if I had it would have been easySmilie

*** I need the average of these stats on a weekly basis so that I can plot them through excel.

Any idea how to get this done, i thought of using Bash scripting but hey 26 servers is not a joke! I just started learning Python but now time is not on my side, I need some demo before thursday next week.

Any help will be appreciated, am thinking of collectd but am not so sure of it's capabilities.
# 2  
Old 11-22-2013
What systems are these servers?

Here's a start. You can automate ssh to be passwordless with keys easily enough.

Code:
while read SERVER
do
        ssh $SERVER exec /bin/sh -s <<"EOF"
shell code to send to server
EOF
done < list-of-servers > list-of-data

# 3  
Old 11-25-2013
Hello Corona688,

Many thanks for the code...

These boxes are Oracel SUN/HP Blade Cluster Servers running Suse Linux.

My main concern now is how to organize the output for over 26 servers in an orderly manner to produce a weekly report/summary, just that have not done sthg this deep before.

Will appreciate any advice/input.
# 4  
Old 11-25-2013
Show the input you have and show the output you want.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Required cpu , memory, df output in mail for multiple servers

I have prepared script which will collect cpu, memory and df out out for multiple server and send in one mail, but my script only run in one server, and when I send to mail, it shows in text format. it should be show actual format. if any one can help , that would be very grateful. script... (1 Reply)
Discussion started by: yash_message
1 Replies

2. Red Hat

CPU Usage statistics Dump in a text file over a period of time

I am facing issue related to performance of one customized application running on RHEL 5.9. The application stalls for some unknown reason that I need to track. For that I require some tool or shell scripts that can monitor the CPU usage statistics (what we get in TOP or in more detail by other... (6 Replies)
Discussion started by: Anjan Ganguly
6 Replies

3. UNIX Desktop Questions & Answers

Tool suggestion for collection CPU/memory Stats

Hi, We have around 1000 server (Red Hat + Suse + Parallels + Solaris-9/10/11). Every month, we generate a report for all servers for CPU and Memory utilization in 'percentage used'. This report is generated from HP Openview and frequency is every file minutes. In HP OpenView, we are picking 20... (0 Replies)
Discussion started by: solaris_1977
0 Replies

4. AIX

Monitor Physical CPU usage on multiple servers

Hello, Looking for some help. I am trying to gather data at each server showing when the physical CPU is being used the most based on a weekly timeframe. I know this data can be seen through NMON but with multiple servers in our environment it could take a real long time. is there a easier... (4 Replies)
Discussion started by: audis$
4 Replies

5. Solaris

Sun MC, Display memory Statistics Graph

Hi, I can't seem to get Graphs using Report Manager for Memory and Hard Disk. Only CPU is working fine. Following are some screen shots: - Sun Management Center 4.0 http://img689.imageshack.us/img689/7555/smcu.jpg - Performance Report http://img25.imageshack.us/img25/3015/reportdo.jpg By... (2 Replies)
Discussion started by: Mack1982
2 Replies

6. AIX

Pin Memory Statistics

Hi, We have an issue on our lpar where the pin memory usage slowly and regularly increases approx 1.5% a day until it reaches its 80% threshold We have to regularly reboot the lpars to release the pin memory as we have found that killing all processes does not release it. However,... (1 Reply)
Discussion started by: GarciasMuffin
1 Replies

7. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

8. Programming

C/C++ library for CPU statistics

Hi all, This is my first post, so at the beginning I would like to be nice and say: "Hello all!" :) I am looking for a C/C++ library for Linux CPU statistics. All I found is that it is possible to parse two files: /proc/cpuinfo and /proc/stat to gain some needed information, but I would like to... (1 Reply)
Discussion started by: ebucka
1 Replies

9. HP-UX

more memory utilization in ux Servers

Hi, Please let me know what are all the reasons in increase in the Memory utilisation of ux servers, and the solutions to face those issues caused by the memory utilisation (memeory Likage)? Thanks in Advance! regards, kishan (2 Replies)
Discussion started by: kishan
2 Replies

10. UNIX for Dummies Questions & Answers

How to find how many CPU installed in the servers

We are using HP unix how to find out how many number of CPU's in the system. (7 Replies)
Discussion started by: salaathi
7 Replies
Login or Register to Ask a Question