monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Memory totals not adding up


From: Darhl Thomason
Subject: RE: Memory totals not adding up
Date: Wed, 14 Sep 2011 07:45:07 -0700

Martin,

Everything looks good, but I found some HTML formatting issues in the
current version.  I updated cervlet.c and recompiled and it's working
as expected, but I don't know how to create a patch to send in.  I've
attached the cervlet_fixed.c for your review.

The HTML formatting issues were:
1.  First column (left most) in main screen was centering when viewed in IE.
  - fixed by changing the <td> to <td align='left'>
2.  When I examined the page source I noticed there was an extra
'</tr>' being generated for the 'Services' table.
  - fixed by removing the extra </tr>

Both of these items are fixed in the attached cervlet_fixed.c.

I looked at using diff to create the patch file, but it added every
line into the patch file I was trying to generate and I knew that
wasn't right.

Anyway, I hope my fixes can be added if you find them appropriate.

Thanks again!!

Darhl

--------------------------------------------------------------------------------
From:  Darhl Thomason
Subject:  Re: Memory totals not adding up
Date:  Tue, 13 Sep 2011 18:02:22 -0700

I got it Martin, it's reporting properly now!

Thanks again for your help and the quick patches!

Darhl

On Tue, Sep 13, 2011 at 5:54 PM, Darhl Thomason <address@hidden> wrote:
> Let me try this and see how it goes. Â It's a good learning exercise
> for me since I've never patch source before.
>
>
> On Tue, Sep 13, 2011 at 2:17 PM, Martin Pala <address@hidden> wrote:
>> … if you prefer the binary build (such as monit-5.3-linux-x64.tar.gz), i 
>> can
>> prepare binary fix as well - let me know which platform you need (such as
>> the linux-x64)
>>
>>
>> On Sep 13, 2011, at 11:14 PM, Martin Pala wrote:
>>
>>> You need to recompile to apply the patch:
>>>
>>> Â  Â  Â  wget http://www.mmonit.com/monit/dist/monit-5.3.tar.gz
>>> Â  Â  Â  tar -xzf monit-5.3.tar.gz
>>> Â  Â  Â  cd monit-5.3
>>> Â  Â  Â  patch -p0 < mem_percent.patch
>>> Â  Â  Â  ./configure
>>> Â  Â  Â  make
>>> Â  Â  Â  make install
>>>
>>> Best regards,
>>> Martin

Attachment: cervlet_fixed.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]