Igor's Blog

Since the DietPi-CloudShell doesn't work properly on the Odroid-Show2, I decided to make my own script to display the system status on the Odroid-Show2. I reused some of the the code from DietPi-CloudShell for this purpose.

This is what my version looks like...it's a one page summary and isn't meant to be as comprehensive as the CloudShell script...

dietpi_status1.jpg dietpi_status2.jpg


My script captures the hostname and IP address(es) (just IPv4), CPU temperature, utilisation and frequency as well as disk usage, server time and uptime - all one one screen.

I think there are parts of my script that work better than the DietPi-CloudShell for overall status purposes. The CPU utilisation is averaged across all of the cores and the frequency is averaged across the two sets of cores i.e. all A7 core frequencies are shown as one number, averaged across the 4 cores, and all the A15 cores are treated the same way. You will notice in the photos above an odd frequency of 275Mhz, that's due to the averaging.

To get this all working I initially followed the Odroid-Show2 examples. Setting up the TTY is simple and then it's just a matter of sending the right ANSI commands to the terminal.

Once it was all working, I added a cron job to update the display every minute...
 crontab
* * * * * /root/status.sh


The script is available on GitHub here: https://github.com/ikromin/misc/tree/master/dietpi/odroid_show2



In case you missed it, I wrote about the software setup on my XU4 not too long ago. That covered DietPi, Plex, Deluge and webmin as well as a few other changes I made to the base system.

-i

, , ,
About — I'm an enthusiastic software engineer and consultant interested in many fields including J2EE, programming, electronics, 3D printing, video games, wood working and gardening.
See my Resume for more information.
The views expressed in this blog are my own and not those of my employer.
comments powered by Disqus
My other posts you may like...
Programming, DIY, Games, Hacks, Tech and more.
Follow me on...
Current and Past Projects
See my Resume

Subscribe


RSS Feed

My Other Web Sites

Igor and Elise's Travels
Riverside Expressway Cam
StrFunc() Online
300 George St Blogumentary
Guru JSON-RPC Tester
Extrudifier Object Designer

Recent Blog Posts

NeoOffice Viewer macOS Word Document viewer vs Preview and Microsoft Word

Importance of cleaning the internal fans and heatsinks in a MacBook Pro

Adding an email subscribe feature to your Blog with Blogtrottr

How to remove Google's logo from your G Suite applications

Pedestal fan transformed into a ceiling fan

Testing the Velvet WiFi Hotshot signal strength

Improving slow download speeds on the PS4 and PSN

Add batch image resize functionality to macOS using Automator

Show transfer percentage and speed when copying files in Linux and Bash

So I finally got to try eating some space food

Recent Galleries

Space Food - Chocolate Ice Cream with Chocolate Chips

Legeod Star Wars AT-DP kit

DIY spare parts computer build with a RAIDMAX Anura case

Fake 'Lepin' brand Lego packaging

Hardwood garden bench with clear resin void filler

Fixing a 3D printer extruder that stopped heating up

Easily increase disk space in a Lenovo Ideapad 100S 14" laptop with an M.2 SSD

Making a multi-piece 3D printed solder spool holder stand

DIY indoor apartment grow light wiring

Good Friday Electronics fun Easter Bunny LED PCB Kit IBEABU-01.0

Top Categories

Blogs I follow

Matt Moores Blog
Georgi's FlatPress Guide
Perplexing Permutations
The Security Sleuth

Friends

RAWS Parts Online
Alpha Dimensions Hosting
Kristensen Photography
Ilia Rogatchevski
Travelling Fairy

Blog Activity

Blog Activity
Please follow me on...