Sponsored Content
Top Forums UNIX for Dummies Questions & Answers CPU and Memory Statistics Collection Across Many Servers Post 302876165 by infinitydon on Friday 22nd of November 2013 05:05:21 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
COLLECTD(1)							     collectd							       COLLECTD(1)

NAME
collectd - System statistics collection daemon SYNOPSIS
collectd [options] DESCRIPTION
collectd is a daemon that receives system statistics and makes them available in a number of ways. The main daemon itself doesn't have any real functionality apart from loading, querying and submitting to plugins. For a description of available plugins please see "PLUGINS" below. OPTIONS
Most of collectd's configuration is done using using a configfile. See collectd.conf(5) for an in-depth description of all options. -C <config-file> Specify an alternative config file. This is the place to go when you wish to change collectd's behavior. The path may be relative to the current working directory. -t Test the configuration only. The program immediately exits after parsing the config file. A return code not equal to zero indicates an error. -T Test the plugin read callbacks only. The program immediately exits after invoking the read callbacks once. A return code not equal to zero indicates an error. -P <pid-file> Specify an alternative pid file. This overwrites any settings in the config file. This is thought for init-scripts that require the PID-file in a certain directory to work correctly. For everyday-usage use the PIDFile config-option. -f Don't fork to the background. collectd will also not close standard file descriptors, detach from the session nor write a pid file. This is mainly thought for 'supervising' init replacements such as runit. -h Output usage information and exit. PLUGINS
As noted above, the real power of collectd lies within it's plugins. A (hopefully complete) list of plugins and short descriptions can be found in the README file that is distributed with the sourcecode. If you're using a package it's a good bet to search somewhere near /usr/share/doc/collectd. There are two big groups of plugins, input and output plugins: o Input plugins are queried periodically. They somehow acquire the current value of whatever they where designed to work with and submit these values back to the daemon, i. e. they "dispatch" the values. As an example, the "cpu plugin" reads the current cpu-counters of time spent in the various modes (user, system, nice, ...) and dispatches these counters to the daemon. o Output plugins get the dispatched values from the daemon and does something with them. Common applications are writing to RRD-files, CSV-files or sending the data over a network link to a remote box. Of course not all plugins fit neatly into one of the two above categories. The "network plugin", for example, is able to send (i. e. "write") and receive (i. e. "dispatch") values. Also, it opens a socket upon initialization and dispatches the values when it receives them and isn't triggered at the same time the input plugins are being read. You can think of the network receive part as working asynchronous if it helps. In addition to the above, there are "logging plugins". Right now those are the "logfile plugin" and the "syslog plugin". With these plugins collectd can provide information about issues and significant situations to the user. Several loglevels let you suppress uninteresting messages. Starting with version 4.3.0 collectd has support for monitoring. This is done by checking thresholds defined by the user. If a value is out of range, a notification will be dispatched to "notification plugins". See collectd.conf(5) for more detailed information about threshold checking. Please note that some plugins, that provide other means of communicating with the daemon, have manpages of their own to describe their functionality in more detail. In particular those are collectd-email(5), collectd-exec(5), collectd-perl(5), collectd-snmp(5), and collectd-unixsock(5) SIGNALS
collectd accepts the following signals: SIGINT, SIGTERM These signals cause collectd to shut down all plugins and terminate. SIGUSR1 This signal causes collectd to signal all plugins to flush data from internal caches. E. g. the "rrdtool plugin" will write all pending data to the RRD files. This is the same as using the "FLUSH -1" command of the "unixsock plugin". SEE ALSO
collectd.conf(5), collectd-email(5), collectd-exec(5), collectd-perl(5), collectd-snmp(5), collectd-unixsock(5), types.db(5), <http://collectd.org/> AUTHOR
Florian Forster <octo@verplant.org> 5.1.0 2012-04-02 COLLECTD(1)
All times are GMT -4. The time now is 01:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy