<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
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
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<div>
<p class="MsoNormal"><span style="color:#1F497D">>></span>On 6 August 2012 22:28, Tilsley, Jerry M. <<a href="mailto:jmtilsley@st-claire.org" target="_blank">jmtilsley@st-claire.org</a>> wrote:</p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:#1F497D">>></span>First of all, I wasn't paying attention when I sent this 5.7 issue to the RHEL6 group, sorry about that!  Secondly, I found the issue.  I also didn't realize I was running
 as a basic user when trying to do top.  When I switched to user 'root' top worked as
<span style="color:#1F497D">>></span>expected!</p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<span style="color:#1F497D">></span>There's something else going on there.   It doesn't matter whether you're on EL5 or EL6, "1" in top should show the per-cpu stats like this:<br>
<br>
 <span style="color:#1F497D">></span>top - 08:42:00 up 4 days, 20:51,  1 user,  load average: 0.00, 0.01, 0.05<br>
<span style="color:#1F497D">></span>Tasks: 118 total,   1 running, 117 sleeping,   0 stopped,   0 zombie<br>
<span style="color:#1F497D">></span>Cpu0  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st<br>
<span style="color:#1F497D">></span>Cpu1  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st<br>
<span style="color:#1F497D">></span>Cpu2  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st<br>
<span style="color:#1F497D">></span>Cpu3  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st<br>
<span style="color:#1F497D">></span>Mem:   1880072k total,  1159908k used,   720164k free,   195840k buffers<br>
<span style="color:#1F497D">></span>Swap:  1048572k total,        0k used,  1048572k free,   606672k cached<br>
<br>
<span style="color:#1F497D">></span>It's not even as though the per-cpu information comes from a different place: top gets both summary and the per-cpu data from /proc/stat.   Even if you only have one CPU you'd still see a "Cpu0" line instead of "Cpu(s).<br>
<br>
<span style="color:#1F497D">></span>The only way I can see to prevent top from displaying per-cpu information is to prevent it displaying any cpu information at all: try hitting "t" -- that will take away the Tasks and Cpu lines.<br>
<br>
<span style="color:#1F497D">></span>It's possible that the Task area (t flag) is off by default: it can be set in either ~/.toprc or /etc/toprc.   If it's not and you still don't have per-cpu data then something is seriously amiss.   Check /proc/stat to make
 sure you do have per-cpu lines, check "rpm -<span style="color:#1F497D">></span>qf $(type -p top)" to make sure the top you're running really is the one in the procps rpm and "rpm -V procps" to make sure procps isn't damaged.<span style="color:#1F497D"></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:#1F497D">I have narrowed down the issue to only a particular user, the rest function as expected.  I cannot find a file called toprc anyway, not in any users home and not in /etc either. 
 Not sure what I am missing there.  All other checks came back good, the I get the information as long as I’m not running as one particular user.</span><br>
<br>
And then check for rootkits :)<br>
<br>
jch</p>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Disclaimer****<br>
This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of St. Claire Regional Medical Center. If you are not
 the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of the email is strictly prohibited. If you received this email in error please notify the St. Claire Regional Helpdesk
 by telephone at 606-783-6565.<br>
</font>
</body>
</html>