[Ganglia-developers] [RFC 07/14] libmetrics: AIX: cpu_num metric by Michael Perzl

2008-02-24 Thread Carlo Marcelo Arenas Belon
Add error checking and avoid global. Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- trunk/monitor-core/libmetrics/aix/metrics.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/trunk/monitor-core/libmetrics/aix/metrics.c b/trunk/monitor-core/libm

[Ganglia-developers] [RFC 06/14] libmetrics: AIX: machine_type metric by Michael Perzl

2008-02-24 Thread Carlo Marcelo Arenas Belon
add error checking and a local struct instead of the cpu_total_buffer global using "unknown" in case of failure to avoid overflow and for consistency with other platforms Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- trunk/monitor-core/libmetrics/aix/metrics.c |9 +---

[Ganglia-developers] [RFC 05/14] libmetrics: AIX: cpu speed metric by Michael Perzl

2008-02-24 Thread Carlo Marcelo Arenas Belon
Use a local perfstat_cpu_total_t instead of the global cpu_total_buffer. Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- trunk/monitor-core/libmetrics/aix/metrics.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/trunk/monitor-core/libmetrics/ai

[Ganglia-developers] [RFC 04/14] libmetrics: AIX: load metrics by Michael Perzl

2008-02-24 Thread Carlo Marcelo Arenas Belon
Add error checking for the load metrics and adds a header and define which was probably needed (but wasn't there before). Someone with access to an AIX system could verify if the is really needed for SBITS as indicated in the documentation and if running in an old version of AIX if the #if define

[Ganglia-developers] [RFC 03/14] libmetrics: AIX: memory metrics by Michael Perzl

2008-02-24 Thread Carlo Marcelo Arenas Belon
Replace global minfo with local perfstat_memory_total_t structures Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- trunk/monitor-core/libmetrics/aix/metrics.c | 62 ++ 1 files changed, 33 insertions(+), 29 deletions(-) diff --git a/trunk/monitor-core/l

[Ganglia-developers] [RFC 02/14] libmetrics: AIX: disk metrics by Michael Perzl

2008-02-24 Thread Carlo Marcelo Arenas Belon
Remove global dinfo and use a local perfstat_disk_total_t structure for both implemented metrics leaving part_max_used without implementation for now. The first snippet is really part of the first patch Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- trunk/monitor-core/libmetri

[Ganglia-developers] [RFC 01/14] libmetrics: aix: include AIX metrics fixes from Michael Perzl

2008-02-24 Thread Carlo Marcelo Arenas Belon
merging changes to the AIX metrics from the new metrics file filed as part of BUG146: http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=146 Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- trunk/monitor-core/libmetrics/aix/metrics.c |6 +- 1 files changed,

[Ganglia-developers] [RFC 00/14] libmetrics: updates for AIX by Michael Perzl

2008-02-24 Thread Carlo Marcelo Arenas Belon
Greetings, the following patch series modifies all core metrics for AIX using the proposed changes suggested in BUG146 by Michael Perzl. PATCH 01/14 : contributor update PATCH 02/14 : disk metrics PATCH 03/14 : memory metrics PATCH 04/14 : load metrics PATCH 05/14 : cpu speed metric P