Re: [Ganglia-developers] problem about Gmond Python Module for Monitoring NVIDIA GPU

2013-12-16 Thread Bernard Li
Hello 胡杨:

The patch is for Ganglia Web 3.1+, I'm not sure what version of
Ganglia ROCKS 5.5 comes with, can you please check?

P.S. These questions are more suitable for the ganglia-general
mailing-list.  The -developer list is generally reserved for Ganglia
development discussions.

Thanks,

Bernard

On Sun, Dec 15, 2013 at 9:29 PM, 胡杨 781578...@qq.com wrote:
 I did it in the Rocks5.5.
 Everything is fine but the step of patch..
 the errors below:
 [root at cluster ganglia]# patch -p0 
 /share/apps/ganglia-gpu/gpu/nvidia/ganglia_web.patch
 patching file host_view.php
 Hunk #1 FAILED at 17.
 Hunk #2 succeeded at 38 (offset 1 line).
 Hunk #3 succeeded at 203 with fuzz 2 (offset 32 lines).
 Hunk #4 FAILED at 180.
 Hunk #5 succeeded at 227 with fuzz 2 (offset 31 lines).
 2 out of 5 hunks FAILED -- saving rejects to file host_view.php.rej
 patching file templates/default/host_view.tpl
 Hunk #1 succeeded at 82 with fuzz 2 (offset 2 lines).
 Hunk #2 FAILED at 138.
 1 out of 2 hunks FAILED -- saving rejects to file
 templates/default/host_view.tpl.rej

 After do this ,when I open the page abot host view,the content is empty..
 And I replace the new host_view,php file  to the initial one which I backed
 before dong patch.

 Did it mean the patch is not suit for the version fo ganglia in Rocks5.5???
 If so, How can I do ...



 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Ganglia-developers mailing list
 Ganglia-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-developers


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers


Re: [Ganglia-developers] [Ganglia-general] Gmetad Platform Poll

2013-12-16 Thread Bernard Li
Hi Michael:

Any chance we can try to merge your AIX specific patches into upstream
code?  Aren't you getting a bit tired managing them separately? ;-)

Thanks,

Bernard

On Wed, Dec 11, 2013 at 3:17 PM, Michael Perzl mich...@perzl.org wrote:
 I can certainly test and verify this on a variety of different AIX levels.

 Regards,
 Michael

 On 12/11/2013 07:27 PM, Devon H. O'Dell wrote:
 Thanks. I think the work I'm doing should work with AIX on POWER.
 Would anybody with a builder be able to test and verify this?

 2013/12/11 Morten Torstensen morten.torsten...@evry.com:
 We are using ganglia for aix on power, and possibly linux on power too in 
 the close future.

 We use binaries from Michael Perzl, http://www.perzl.org/ganglia/


 Best regards
 Morten Torstensen
 Chief Solution Architect, BA Nordic Open Systems
 Future Proof Service Development
 morten.torsten...@evry.com
 M +47 46819584

 -Original Message-
 From: Devon H. O'Dell [mailto:devon.od...@gmail.com]
 Sent: Wednesday, 11 December, 2013 16:49
 To: ganglia-developers@lists.sourceforge.net; 
 ganglia-gene...@lists.sourceforge.net
 Subject: [Ganglia-general] Gmetad Platform Poll

 Hi all,

 I'm intending to continue working on performance improvements for gmetad. 
 I'm curious if anybody uses gmetad on architectures that are
 not:

   * ARM
   * PPC
   * PPC64
   * SPARCv9
   * i386
   * amd64

 or on systems that are not:

   * Linux
   * ${any}BSD
   * Solaris

 (I'd also be interested in hearing if people are using gmond on 
 architectures other than those mentioned above; less interested about the 
 operating systems for that one.)

 Kind regards,

 --dho

 --
 Rapidly troubleshoot problems before they affect your business. Most IT 
 organizations don't have a clear picture of how application performance 
 affects their revenue. With AppDynamics, you get 100% visibility into your 
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics 
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Ganglia-general mailing list
 ganglia-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general
 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics 
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Ganglia-general mailing list
 ganglia-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general



 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Ganglia-developers mailing list
 Ganglia-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-developers

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers


Re: [Ganglia-developers] [Ganglia-general] Gmetad Platform Poll

2013-12-16 Thread Bernard Li
Hi Khrist:

Thanks!  Will you be willing to volunteer to help with testing? :-)

Cheers,

Bernard

On Mon, Dec 16, 2013 at 1:19 PM, Khrist Hansen khrist.han...@gmail.com wrote:
 I second this motion.  :)


 -Original Message-
 From: Bernard Li [mailto:bern...@vanhpc.org]
 Sent: Monday, December 16, 2013 2:04 PM
 To: Michael Perzl
 Cc: ganglia-developers@lists.sourceforge.net; Morten Torstensen;
 ganglia-gene...@lists.sourceforge.net
 Subject: Re: [Ganglia-general] [Ganglia-developers] Gmetad Platform Poll

 Hi Michael:

 Any chance we can try to merge your AIX specific patches into upstream code?
 Aren't you getting a bit tired managing them separately? ;-)

 Thanks,

 Bernard

 On Wed, Dec 11, 2013 at 3:17 PM, Michael Perzl mich...@perzl.org wrote:
 I can certainly test and verify this on a variety of different AIX levels.

 Regards,
 Michael

 On 12/11/2013 07:27 PM, Devon H. O'Dell wrote:
 Thanks. I think the work I'm doing should work with AIX on POWER.
 Would anybody with a builder be able to test and verify this?

 2013/12/11 Morten Torstensen morten.torsten...@evry.com:
 We are using ganglia for aix on power, and possibly linux on power too
 in the close future.

 We use binaries from Michael Perzl, http://www.perzl.org/ganglia/


 Best regards
 Morten Torstensen
 Chief Solution Architect, BA Nordic Open Systems Future Proof
 Service Development morten.torsten...@evry.com M +47 46819584

 -Original Message-
 From: Devon H. O'Dell [mailto:devon.od...@gmail.com]
 Sent: Wednesday, 11 December, 2013 16:49
 To: ganglia-developers@lists.sourceforge.net;
 ganglia-gene...@lists.sourceforge.net
 Subject: [Ganglia-general] Gmetad Platform Poll

 Hi all,

 I'm intending to continue working on performance improvements for
 gmetad. I'm curious if anybody uses gmetad on architectures that are
 not:

   * ARM
   * PPC
   * PPC64
   * SPARCv9
   * i386
   * amd64

 or on systems that are not:

   * Linux
   * ${any}BSD
   * Solaris

 (I'd also be interested in hearing if people are using gmond on
 architectures other than those mentioned above; less interested
 about the operating systems for that one.)

 Kind regards,

 --dho

 
 -- Rapidly troubleshoot problems before they affect your
 business. Most IT organizations don't have a clear picture of how
 application performance affects their revenue. With AppDynamics, you get
 100% visibility into your Java,.NET,  PHP application. Start your 15-day
 FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg
 .clktrk ___
 Ganglia-general mailing list
 ganglia-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general
 -
 - Rapidly troubleshoot problems before they affect your
 business. Most IT organizations don't have a clear picture of how
 application performance affects their revenue. With AppDynamics, you
 get 100% visibility into your Java,.NET,  PHP application. Start
 your 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.
 clktrk ___
 Ganglia-general mailing list
 ganglia-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general



 --
  Rapidly troubleshoot problems before they affect your
 business. Most IT organizations don't have a clear picture of how
 application performance affects their revenue. With AppDynamics, you
 get 100% visibility into your Java,.NET,  PHP application. Start your
 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.c
 lktrk ___
 Ganglia-developers mailing list
 Ganglia-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-developers

 
 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Ganglia-general mailing list
 ganglia-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. 

Re: [Ganglia-developers] [Ganglia-general] Gmetad Platform Poll

2013-12-16 Thread Bernard Li
Hi Khrist:

Are you familiar with GitHub?  Perhaps we should start submitting
these as issues or even a pull requests so they don't get lost in the
conversation.  Our main code repository now resides there (as opposed
to SourceForge).

Thanks,

Bernard

On Mon, Dec 16, 2013 at 3:06 PM, Khrist Hansen khrist.han...@gmail.com wrote:
 Yes, I am available and willing to test.

 I've already made some minor edits to Mr. Perzl's AIX code and recompiled on
 AIX to work around a divide-by-zero bug that causes insanely large negative
 values for cpu_wait and cpu_idle when cpu_user + cpu_sys = 100%.

 It looks like the original code was borrowed from an IBM example for
 libperfstat, and it appears that Mr. Perzl noticed the potential
 divide-by-zero error and tried to accommodate for it.  Still, these insanely
 large negative for cpu_wait and cpu_idle would appear when the server was
 completely CPU bound.

 This was a crash course in C for me, so I was not able to figure out the
 cause.  In the end, the work around was simple check for a negative value
 and assign 0 instead if it existed.

 (I don't mean to belittle Mr. Perzl's work here; I am very grateful for his
 efforts in bringing Ganglia to AIX, and I'm happy to assist in any way I can
 toward its improvement.)

 g_val_t
 cpu_wio_func( void )
 {
g_val_t val;


get_cpuinfo();
val.f = cpu_info.wait;

if(val.f  0) val.f = 0.0;
return( val );
 }


 g_val_t
 cpu_idle_func( void )
 {
g_val_t val;


get_cpuinfo();
val.f = cpu_info.idle;

if(val.f  0) val.f = 0.0;
return( val );
 }



 -Original Message-
 From: Bernard Li [mailto:bern...@vanhpc.org]
 Sent: Monday, December 16, 2013 2:42 PM
 To: Khrist Hansen
 Cc: Michael Perzl; ganglia-developers@lists.sourceforge.net; Morten
 Torstensen; Ganglia
 Subject: Re: [Ganglia-general] [Ganglia-developers] Gmetad Platform Poll

 Hi Khrist:

 Thanks!  Will you be willing to volunteer to help with testing? :-)

 Cheers,

 Bernard

 On Mon, Dec 16, 2013 at 1:19 PM, Khrist Hansen khrist.han...@gmail.com
 wrote:
 I second this motion.  :)


 -Original Message-
 From: Bernard Li [mailto:bern...@vanhpc.org]
 Sent: Monday, December 16, 2013 2:04 PM
 To: Michael Perzl
 Cc: ganglia-developers@lists.sourceforge.net; Morten Torstensen;
 ganglia-gene...@lists.sourceforge.net
 Subject: Re: [Ganglia-general] [Ganglia-developers] Gmetad Platform
 Poll

 Hi Michael:

 Any chance we can try to merge your AIX specific patches into upstream
 code?
 Aren't you getting a bit tired managing them separately? ;-)

 Thanks,

 Bernard

 On Wed, Dec 11, 2013 at 3:17 PM, Michael Perzl mich...@perzl.org wrote:
 I can certainly test and verify this on a variety of different AIX
 levels.

 Regards,
 Michael

 On 12/11/2013 07:27 PM, Devon H. O'Dell wrote:
 Thanks. I think the work I'm doing should work with AIX on POWER.
 Would anybody with a builder be able to test and verify this?

 2013/12/11 Morten Torstensen morten.torsten...@evry.com:
 We are using ganglia for aix on power, and possibly linux on power
 too
 in the close future.

 We use binaries from Michael Perzl, http://www.perzl.org/ganglia/


 Best regards
 Morten Torstensen
 Chief Solution Architect, BA Nordic Open Systems Future Proof
 Service Development morten.torsten...@evry.com M +47 46819584

 -Original Message-
 From: Devon H. O'Dell [mailto:devon.od...@gmail.com]
 Sent: Wednesday, 11 December, 2013 16:49
 To: ganglia-developers@lists.sourceforge.net;
 ganglia-gene...@lists.sourceforge.net
 Subject: [Ganglia-general] Gmetad Platform Poll

 Hi all,

 I'm intending to continue working on performance improvements for
 gmetad. I'm curious if anybody uses gmetad on architectures that
 are
 not:

   * ARM
   * PPC
   * PPC64
   * SPARCv9
   * i386
   * amd64

 or on systems that are not:

   * Linux
   * ${any}BSD
   * Solaris

 (I'd also be interested in hearing if people are using gmond on
 architectures other than those mentioned above; less interested
 about the operating systems for that one.)

 Kind regards,

 --dho

 ---
 -
 -- Rapidly troubleshoot problems before they affect your
 business. Most IT organizations don't have a clear picture of how
 application performance affects their revenue. With AppDynamics, you
 get 100% visibility into your Java,.NET,  PHP application. Start your
 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ost
 g .clktrk ___
 Ganglia-general mailing list
 ganglia-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general
 
 -
 - Rapidly troubleshoot problems before they affect your
 business. Most IT organizations don't have a clear picture of how
 application performance affects their revenue. With AppDynamics, you
 get