Re: [Ganglia-developers] Determining # of CPUs

2002-08-16 Thread Preston Smith
On Fri, Aug 16, 2002 at 11:36:09AM +0200, Leif Nixon ([EMAIL PROTECTED]) wrote: > *However*, it turns out glibc already does this! > > sysconf(_SC_NPROCESSORS_CONF) should work on x86, sparc, alpha, mips > and, probably, ia64. > Good tip, thanks! Much easier than doing it the hard way. glibc e

Re: [Ganglia-developers] autoconf/automake/libtool madness

2002-08-16 Thread Preston Smith
On Fri, Aug 16, 2002 at 04:40:07PM -0700, matt massie ([EMAIL PROTECTED]) wrote: > QUESTION: > > should i remove all the autoconf, automake, libtool derived files and > require that we run... > > # aclocal > # autoheader > # automake > # autoconf > > before we run > > # ./configure > > on th

Re: [Ganglia-developers] A few questions.

2002-08-16 Thread matt massie
Yesterday, Jason A. Smith wrote forth saying... > I have a few questions about ganglia development. I am using ganglia on > RedHat 7.x i386 here. > > 1. I tried the new network metrics that are in the latest cvs version > of the monitoring-core module and was wondering what happens on a dual >

Re: [Ganglia-developers] new disk metrics announcement

2002-08-16 Thread matt massie
Yesterday, Federico Sacerdoti wrote forth saying... > The LOCATION attribute in the HOST tag specifies where the host is > physically located in the cluster - Rack, Rank, and Plane. These are > specified in a 3D euclidean coordinate "x,y,z". This attribute enables > technicians (or more probabl

Re: [Ganglia-developers] Determining # of CPUs

2002-08-16 Thread matt massie
leif- that's a great tip! it looks like it works on cygwin and we had problems with calling the number of CPUs on cygwin (well i guess i should say matt rice was having problems since i'm still scratching my head amazed he ported ganglia to cygwin in the first place). thanks! -matt Today,

Re: [Ganglia-developers] autoconf/automake/libtool madness

2002-08-16 Thread Steven Wagner
matt massie wrote: guys- let's talk. if( you know about autoconf, automake and libtool) goto QUESTION: If only I could forget... QUESTION: should i remove all the autoconf, automake, libtool derived files and require that we run... # aclocal # autoheader # automake # autoconf befo

[Ganglia-developers] autoconf/automake/libtool madness

2002-08-16 Thread matt massie
guys- let's talk. if( you know about autoconf, automake and libtool) goto QUESTION: autoconf uses the file configure.in to create the configure script. configure.in just contains some a list of macro tests you want added to ./configure. autoconf parses this file and creates a single bour

[Ganglia-developers] tcp.c

2002-08-16 Thread matt massie
i just checked in a new tcp.c.. in tcp_listen() i wasn't checking the return value of setsockopt() on one option. oops. -matt

Re: [Ganglia-developers] Determining # of CPUs

2002-08-16 Thread Matt Rice
Leif Nixon wrote: Preston Smith <[EMAIL PROTECTED]> writes: On Thu, Aug 15, 2002 at 03:11:34PM +0200, Leif Nixon ([EMAIL PROTECTED]) wrote: A tentative fix would be to instead count the number of lines starting with "processor" in /proc/cpuinfo. There's been a bug filed about

Re: [Ganglia-developers] Determining # of CPUs

2002-08-16 Thread Leif Nixon
Preston Smith <[EMAIL PROTECTED]> writes: > On Thu, Aug 15, 2002 at 03:11:34PM +0200, Leif Nixon ([EMAIL PROTECTED]) > wrote: > > A tentative fix would be to instead count the number of lines > > starting with "processor" in /proc/cpuinfo. > > There's been a bug filed about this exact issue on