<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:black;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:14.0pt;color:black">Hello all, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black">          I apologize for wasting your time. When the environment variable CPULOOP=1 is set properly (with export), the CPULOOP=1 variable setting does have the intended effect of hiding the first
 top display on my CentOS 6.5 system. I need to get with my co-workers before trying this on either test or prod. Thanks for your assistance and time.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black">Jos Schwab<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black">Office – 815-233-8667<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black">Mobile – 815-908-8587<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:14.0pt;color:black">SAP Technical Engineer<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black">29 East Stephenson Street<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black">Freeport, Il. 61032<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:14.0pt;color:black">jos.schwab@newellco.com<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jeremy Laidman [mailto:jlaidman@rebel-it.com.au]
<br>
<b>Sent:</b> Wednesday, August 06, 2014 6:54 AM<br>
<b>To:</b> Schwab, Jos<br>
<b>Cc:</b> xymon@xymon.com; Mark Felder<br>
<b>Subject:</b> Re: [Xymon] CPU USAGE DISPLAY (CPU Statistics)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p>From the "top" man page:<o:p></o:p></p>
<p>"There is a possible workaround if you define the CPULOOP=1 environment variable. The top command will be run one extra hidden loop for CPU data before standard output."<o:p></o:p></p>
<p>You could define this in the appropriate cfg file on each client.<o:p></o:p></p>
<p>J<o:p></o:p></p>
<div>
<p class="MsoNormal">On 30/07/2014 6:25 AM, "Schwab, Jos" <<a href="mailto:Jos.Schwab@newellco.com">Jos.Schwab@newellco.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Mark, <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">        I failed to mention that in the man pages for TOP in CentOS 6.5, the –d command line option is called the interval which I had read somewhere is used to average statistics over. I hope that helps make
 it more clear and understandable. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Jos Schwab<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Office – 815-233-8667<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Mobile – 815-908-8587<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span style="font-size:14.0pt">SAP Technical Engineer</span></i><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">29 East Stephenson Street<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Freeport, Il. 61032<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span style="font-size:14.0pt"><a href="mailto:jos.schwab@newellco.com" target="_blank">jos.schwab@newellco.com</a></span></i><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">_____________________________________________<br>
<b>From:</b> Schwab, Jos <br>
<b>Sent:</b> Tuesday, July 29, 2014 10:19 AM<br>
<b>To:</b> 'Mark Felder'<br>
<b>Cc:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> RE: [Xymon] CPU USAGE DISPLAY (CPU Statistics)</span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">        Sorry for the delay mark. I took off a couple of days.
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">        By interval I mean the time span that is used for the calculations in the cpu stats in the third line of TOP. The first display is calculated across the time since boot. The second 'interval' is the
 time calculated for those same cpu stats since the last iteration of the TOP display which is...well... it looks like 1 or 2 seconds. Thus that is what I mean by ‘interval’. Interval is whatever is the measured period of time over which any given TOP display’s
 cpu statistics are calculated. Xymon shows the first display of TOP which looks like the first screen shot below. Then from the same server virtually a few seconds later, I captured a second display of TOP. Notice the cpu statistics are very different even
 though the REAL condition of the server hadn’t changed at all. I would like to change xymon to display that second iteration of the TOP command. 
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">        Let me know if you would like more clarification. Thanks!
</span><span style="font-size:14.0pt;font-family:Wingdings">J</span><span style="font-size:14.0pt">
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">        << OLE Object: Picture (Device Independent Bitmap) >>
</span><span style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"><< OLE Object: Picture (Device Independent Bitmap) >>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Jos Schwab<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Office – 815-233-8667<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Mobile – 815-908-8587<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">SAP Technical Engineer<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">29 East Stephenson Street<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Freeport, Il. 61032<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"><a href="mailto:jos.schwab@newellco.com" target="_blank">jos.schwab@newellco.com</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">-----Original Message-----<br>
From: Mark Felder [<a href="mailto:feld@feld.me" target="_blank">mailto:feld@feld.me</a>]
<br>
Sent: Wednesday, July 23, 2014 5:40 PM<br>
To: Schwab, Jos<br>
Cc: <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
Subject: Re: [Xymon] CPU USAGE DISPLAY (CPU Statistics)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">On Jul 23, 2014, at 10:51, Schwab, Jos <<a href="mailto:Jos.Schwab@newellco.com" target="_blank">Jos.Schwab@newellco.com</a>> wrote:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">> Hello everyone,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">>           I am pretty new to the Linux world. Getting to the point quickly; xymon apparently uses the top display for the CPU display. When I see a CPU alert from xymon I’d like to see the current time interval’s
 CPU stats (The third line of top display - %us, %sy, %ni, etc) rather than the averages of those stats since the last reboot of the machine. This is an old ‘complaint’ in bugzilla which was closed in 2007 as ‘not a bug’. I couldn’t find any work-arounds or
 customizing tips out there to change the display in xymon. What changes can a person make to see the current time interval (any top display other than the first one) statistics for the cpu display in xymon? What about changes in the monitored OS? Any suggestions
 are appreciated! Thanks.    <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">>  <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">I think I know what you are asking for, but to be sure can you define what you mean by "current time interval" ?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt">Thanks!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt"> <o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p></p>
</div>
</div>
</body>
</html>