Rpi-monitor https://github.com/XavierBerger/RPi-Monitor is a very nice app for monitoring sbc (single board computers/ actually bigger computers as well) like RPi on a web. it give you a quick look at various system metrics cpu load, uptime, temperatures etc and more on a nice web page. and on top, makes nice time series graphs for the same, practically a dashboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| #usage: sdimage-u-boot-patcher.py [-h] [--nobak] [--ignimgsize] [--bkname BKNAME] image uboot_bin | |
| # | |
| #patch u-boot binary into image | |
| # | |
| #positional arguments: | |
| # image image file | |
| # uboot_bin u-boot bin file | |
| # | |
| #options: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # | |
| # requires psutil (pip3 install psutil) | |
| # | |
| # This script runs ps_util.cpu_percent(interval=0.5) for each process to calc | |
| # the cpu utilization percentage | |
| # It does so concurrently as otherwise each calls sleeps 0.5 secs to sample the data | |
| # to run it faster use more threads in ThreadPoolExecutor(max_worker=x or | |
| # reduce the interval for cpu_percent(interval=x | |
| # To make readings more 'accurate' use a longer interval e.g. 1.0 for 1s. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd"> | |
| <body> | |
| <wicket:panel> | |
| <table id="dataitems" class="table table-striped"> | |
| <thead class="table-secondary"> | |
| <th class="col-md-1" wicket:id="hdrRepeater"></th> | |
| </thead> | |
| <tbody> | |
| <wicket:container wicket:id="dataRepeater"></wicket:container> | |
| </tbody> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # this has dependencies, install the following first, preferably setup a venv to do so | |
| # | |
| # pip3 install beautifulsoup4 requests | |
| # | |
| # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | |
| # BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
| # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | |
| # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
OlderNewer