Re: [Ganglia-developers] [RFT] libmetrics: freebsd: avoid unitialized values and invalid casts for cpu_speed

2008-04-23 Thread Carlo Marcelo Arenas Belon
On Wed, Apr 23, 2008 at 08:54:07AM -0400, Jesse Becker wrote: > On Wed, Apr 23, 2008 at 6:33 AM, Carlo Marcelo Arenas Belon > <[EMAIL PROTECTED]> wrote: > > the following proposed patch for stable (3.0 and 3.1) removes a floating > > cast > > and the use of an uninitialized buffer which could res

Re: [Ganglia-developers] [PATCH] libmetrics: freebsd correct proc_total in trusted mode

2008-04-23 Thread Carlo Marcelo Arenas Belon
On Sat, Apr 12, 2008 at 06:32:32AM -0500, Carlo Marcelo Arenas Belon wrote: > the following proposed patch for stable (3.0) fixes bug 151 in FreeBSD which > will result in an invalid metric for proc_total if MAC or BSD security levels > are enabled to restrict process visibility as detailed in : >

Re: [Ganglia-developers] [PATCH] libmetrics: freebsd overflow for mem_total > 2GB in 32bit

2008-04-23 Thread Carlo Marcelo Arenas Belon
On Sat, Apr 12, 2008 at 06:06:00AM -0500, Carlo Marcelo Arenas Belon wrote: > the following proposed patch for stable (3.0) fixes bug 159 in FreeBSD which > will result in invalid values for the mem_total metric in 32bit systems with > more than 2GB of physical memory. > > attached original fix co

Re: [Ganglia-developers] relicensing the web frontend as GNU GPL v2

2008-04-23 Thread Mike Howard
On Sat, Apr 19, 2008 at 02:14:19AM -0500, Carlo Marcelo Arenas Belon wrote: > most likely just a formality, as the web frontend templating system was based > on the GPLv2+ TemplatePower class from the very beginning (at least as > shown from the history in svn). > > a quick line count from the fil

[Ganglia-developers] [SD-8I11 - Ganglia - Permission to Use]

2008-04-23 Thread Mike Howard
- Forwarded message from Erica Wazewski <[EMAIL PROTECTED]> - Subject: SD-8I11 - Ganglia - Permission to Use From: Erica Wazewski <[EMAIL PROTECTED]> The ITSO (International Technical Support Organization), IBM, would like to discuss or reproduce Ganglia material in our Redbooks publica

[Ganglia-developers] Suggestion and Questions

2008-04-23 Thread Rich Paul
I wanted to make a suggestion, that the metrics functions be changed to g_val_t (*fn)(time_t) so that the time system call could be made once and passed to each of the metric functions. System calls tend to be a bit expensive. Also, I was considering adding linux metrics for bytes read/writte

Re: [Ganglia-developers] [RFT] libmetrics: freebsd: avoid unitialized values and invalid casts for cpu_speed

2008-04-23 Thread Carlo Marcelo Arenas Belon
On Wed, Apr 23, 2008 at 08:54:07AM -0400, Jesse Becker wrote: > On Wed, Apr 23, 2008 at 6:33 AM, Carlo Marcelo Arenas Belon > <[EMAIL PROTECTED]> wrote: > > the following proposed patch for stable (3.0 and 3.1) removes a floating > > cast > > and the use of an uninitialized buffer which could res

Re: [Ganglia-developers] [RFT] libmetrics: freebsd: avoid unitialized values and invalid casts for cpu_speed

2008-04-23 Thread Jesse Becker
On Wed, Apr 23, 2008 at 6:33 AM, Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> wrote: > the following proposed patch for stable (3.0 and 3.1) removes a floating cast > and the use of an uninitialized buffer which could result in high cpu_speed > values when the size of the buffer used by the cal

[Ganglia-developers] [RFT] libmetrics: freebsd: avoid unitialized values and invalid casts for cpu_speed

2008-04-23 Thread Carlo Marcelo Arenas Belon
the following proposed patch for stable (3.0 and 3.1) removes a floating cast and the use of an uninitialized buffer which could result in high cpu_speed values when the size of the buffer used by the call to sysctlbyname on "machdep.tsc.freq" was smaller than the one proposed (8 bytes). attached

Re: [Ganglia-developers] [PATCH] libmetrics: cygwin implement cpu_num

2008-04-23 Thread Carlo Marcelo Arenas Belon
On Sun, Apr 13, 2008 at 06:24:36AM -0500, Carlo Marcelo Arenas Belon wrote: > the following proposed patch for stable (3.0) fixes a bug in Cygwin which > will result in a cpu count of 1, regardless of the number of CPUs available > because of a missing implementation for this metric and a hardcoded