On Tue, Sep 17, 2013 at 12:34 PM, Janos SUTO <[email protected]> wrote:

>
> On 2013-09-17 21:29, Stephen Ingram wrote:
>
>  /var/piler does have 700, but /var/piler/stat already has 755. So
>> shouldn't it work as is?
>>
>
> no, because current /var/piler permissions prevent the webserver to read
> /var/piler/stat, so I recommend to fix it: chmod 755 /var/piler


I changed this and still no luck. Here is output from mpstat on my system:

08:04:49 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
 %guest   %idle
08:04:49 PM  all    0.84    0.00    0.24    1.63    0.00    0.00    0.76
 0.00   96.53

I'm guessing you are using the %idle value? If so, this is the 12th value,
not the 11th right as the am/pm counts as a field.

The rest of the problem comes from SELinux. I have relabeled the context on
the files in /var/piler/stat such that the httpd will be able to read them.
And, now the bar is green and correct at 4%!

Steve

Reply via email to