Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
madcratebuilder
on 30/09/2013, 17:55:09 UTC
Still getting the "Miner DOWN" web page. I'm using the latest http git pull on minepeon 0.2.2

Okay,
In trying to troubleshoot your issue, I ran into Bonz's issue as well...

@LogicalUnit I reverted on of my rPi's to the 0.2.2 webUI stats do not seem to work, settings look correct, didn't see anything wrong with the permissions for the png files, granted I just did some simple looking around, but I didn't see any obvious reason, however switching to the master branch and doing a pull from it, the graphs work fine.

@Bonz I did some snooping around, found out that MinePeon is calculating the "load" kind of incorrectly. (Neil, I'll send a PM to you about this tomorrow.) It seems to be taking the load utilization then multiplying that by 100, which at first glance, that would be how you get a percentage. Though the average load utilization is different from CPU load average, there's actually an interesting formula () but I'm not going into that formula at 4:30am... lol

However, to get the actual CPU Load average, from command line:
Code:
top -b -d1 -n1 | grep -i "Cpu(s)" | head -c14

or if you want a consistent "running" average user this:
Code:
top -b -d 1| grep Cpu



Thanks for all the work you put in this, you have helped me with sharing of your knowledge.  My install of Minepeon v0.2.3 well show php cpu load up to 200%+.

From ssh
Quote
minepeon@minepeon ~ Sad $ uptime
 18:50:08 up 2 days, 16:32,  1 user,  load average: 0.17, 0.24, 0.35
minepeon@minepeon ~ $

These load numbers look more like I would expect.