login|Register
Forum > Debian
Post|
看30785|回25|Favorite
bronco 看全部
2015-12-6 07:23:41
Edited by bronco at 2015-12-6 07:30

Since I need a bit more informations about the H3 based Orange PIs I extended RPi-Monitor support for these devices.

It's posted here due to being 'Debian only' at the moment. That means it should run on any Debian based OS image (Lubuntu, Debian, Jessie, Ubuntu_Mate, lalala, you name it)

Major drawback: a daemon running in the background is needed to collect all informations.

Advantages:

  • shows you how silly dvfs settings ruin your device over time
  • ability to check external disk's temperature
  • example setup to show how to integrate external data sources

And it's still the best approach to understand how you Orange Pi users suffering from heat/stability problems have been fooled by Xunlong:

That's the difference between moronic dvfs settings and sane ones:

Orange Pi defaults: The board is doing nothing:



And this is the very same board running a benchmark and being just 2°C above the idle settings above. Funny, isn't it? You fry your boards due to moronic overvolted settings.




Take the 5 minutes to follow these easy steps: http://rpi-experiences.blogspot. ... r-installation.html
And then proceed with the stuff below

code:

  1. cd / && wget -O - http://kaiser-edv.de/downloads/RPi-Monitor-for-H3.tgz | tar xzf -
  2. update-rc.d rpimonitor-helper defaults 90 10
  3. shutdown -r now

kaiser 看全部
2017-2-20 21:24:26

There's no need to fiddle around with templates and stuff like that. Simply use Armbian and there 'sudo rpimonitor -r' to get RPi-Monitor installed and also latest version of templates on H2+/H3 boards.

This works in Armbian since one whole year: http://www.cnx-software.com/2016 ... y-pi-and-orange-pi/

Regarding DRAM: the values RPi-Monitor displays are of no interest on any platform (most if not all SBC users fail to understand Linux' virtual memory concept and why 'free memory' is bad memory) so I really didn't take care to 'fix' here any values to be displayed. You can fiddle around in the unaltered template where memory utilization should be parsed but please keep in mind that Armbian supports both legacy and mainline kernels, a lot more Linux SoC families than just H2+/H3 and userspace tools to report memory usage work differently between different distros. So no, there's nothing to fix, simply ignore memory values collected by RPi-Monitor.
xlogan 看全部
2016-1-22 06:57:11

quote:

joecz replied at 2015-12-23 18:55
Following post 1 and this one I successfully updated previous version of RPi-monitor. But selecting ...

Hi

I follow the instrunctions presented by @bronco and i get it up and running with the new information widgets, but i encounter the very same promen of missing rrd databses, i look up for the problem on google and find some discusion about the rrd files here, and reading the code i find a solution:

so just delete the stat folder wich contains the rrd files

code:

  1. sudo rm /var/lib/rpimonitor/stats
and restart the rpimonitor

code:

  1. sudo /etc/init.d/rpimonitor stop
  2. sudo /etc/init.d/rpimonitor-helper stop
  3. sudo /etc/init.d/rpimonitor start
  4. sudo /etc/init.d/rpimonitor-helper start
Or restart the board

The folder and the missing files will be automatically created again.
Hope this helps.

-Logan


bronco 看全部
2015-12-6 23:36:55

quote:

hojnikb replied at 2015-12-6 23:01
im using ubuntu 15.04 btw...

Me too. Thx for the feedback, I made a mistake when packaging the stuff (missed path to a template). Please try it again using:

code:

  1. cd / && wget -O - http://kaiser-edv.de/downloads/RPi-Monitor-for-H3.tgz | tar xzf -
  2. systemctl enable rpimonitor-helper
  3. systemctl start rpimonitor-helper
If it's still not working, please send me a PM with the output of "systemctl status rpimonitor-helper".

The tar archive contains the following:

code:

  1. /usr/local/sbin/rpimonitor-helper.sh
  2. /etc/init.d/rpimonitor-helper
  3. /etc/rpimonitor/data.conf
  4. /etc/rpimonitor/template/OrangePi_H3.conf
  5. /etc/rpimonitor/template/Allwinner_H3.conf
  6. /etc/rpimonitor/template/Allwinner_H3_Extended.conf
The daemon's code can be read out since it's a simple bash script. I've put it also online: http://pastebin.com/0BU8p7BN
hojnikb 看全部
2015-12-6 20:52:58
There must be something wrong with the scripts, because i'm still getting the old template without the additional info...
bronco 看全部
2015-12-6 21:37:30

quote:

hojnikb replied at 2015-12-6 20:52
There must be something wrong with the scripts, because i'm still getting the old template without t ...

Hmm... in case you already restarted your Orange Pi it might be necessary to reload your browser's window or to open a new one. Since RPi-Monitor has been made with the Raspberry Pi in mind all the display and rendering stuff happens inside the browser to put as less load as possible on the board.

BTW: Just finished an USB/storage test (unfortunately not that promising regarding throughput) and easily extended template/daemon to monitor the temperature of both disks:





hojnikb 看全部
2015-12-6 22:14:09
I've cleared my browser cache and restarted but still nothing...
bronco 看全部
2015-12-6 22:31:47

quote:

hojnikb replied at 2015-12-6 22:14
I've cleared my browser cache and restarted but still nothing...

Can you please verify whether you really extracted the installation archive from / (the "cd / &&" step above).

What does the following output when entered as root?

code:

  1. history | egrep "wget|update-rc.d"


1234.. 6NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC