System resource monitor for Linux LCDproc?

Looking to setup a system resource Monitor as a project.
I have been able to setup a iPhone 7+ to ssh in and run Top, Htop, and glances without issue thus far. (btop not so because of screen size)

While it does provide a lot of desired information, the draw back is the required login. For my purpose I’m after basically a hands off approach such as one observes with rack servers small lcd.
This is the goal.

The easiest path is of course is something such crystalfonts LCD via the USB port. Which can get spendy.

One thought is basically the reuse old Hardware that might work. Which brings me to the first attempts use old laying around devices that might work.

First up is
I found a auction of differing old Amazon Kindle Fire 7’s which the screen size should be small/large enough to work. The other aspect of the choice was cost at $10.00 each shipped.
2 of the these are model D01400 (1st Gen). 1 is M8S26G (9th Gen), the last is a HDX version (3rd Gen).
While it is true the OS is FireOS which is pretty much locked to a degree model dependent. The other aspect is that there is a andriod OS involved as well. Which I “should” be able to “maybe” use adb reverse from the andriod side in order to use LCDproc to display information without tty/login etc.
They will be need to be rooted first. Then a rom upgrading the Andriod version I’m thinking that the 1 gen I might be able get to version 4.something jelly bean.
The next will be the modification of the bootloader, to boot into a terminal if the LCDproc to adb reverse works.
If it doesn’t work I’ll convert them to something. As I’m sure it won’t be really easy even though the concept is.
Someone may have experience in this if so please put some input

2025-03-05T06:00:00Z
update on the usage of old Hardware (kindle Fire). Thus far I have pretty much temporarily bricked a 1st gen Kindle tablet (1st Gen). Waiting on XDA forums for assistance on recovery.

One of the many tools I was playing with for this was Glances. Which I attempted to utilize it was as a web based as well as SSH access.

I originally used the apt install method which would not work. Simply because it was noted as a acknowledged bug since 2022. Still unassigned (per the bug report) so I re-looked at the application my solution was to uninstall from the apt application.

I seen this recommended Installation method on GitHub

I followed the PipX method
apt install pipx
then install the full installation of glances
pipx install ‘glances[all]’
Features list:

  • all: install dependencies for all features
  • action: install dependencies for action feature
  • browser: install dependencies for Glances centram browser
  • cloud: install dependencies for cloud plugin
  • containers: install dependencies for container plugin
  • export: install dependencies for all exports modules
  • gpu: install dependencies for GPU plugin
  • graph: install dependencies for graph export
  • ip: install dependencies for IP public option
  • raid: install dependencies for RAID plugin
  • sensors: install dependencies for sensors plugin
  • smart: install dependencies for smart plugin
  • snmp: install dependencies for SNMP
  • sparklines: install dependencies for sparklines option
  • web: install dependencies for Webserver (WebUI) and Web API
  • wifi: install dependencies for Wifi plugin

I also had to run
pipx ensurepath

to bring everything into the path to allow glances to run correctly.

For the standalone mode, just run:

$ glances

For the Web server mode, run:

$ glances -w -B 192.168.XXX.XXX <<<< actual IP address of the server that is being monitored.

output will be similar to this

root@Beastie:/home/mike# glances -w -B 192.168.XXX.XXX
Glances Web User Interface started on http://192.168.XXX.XXX:61208/
Glances RESTful API Server started on http://192.168.XXX.XXX:61208/api/4
INFO:     Started server process [1249239]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://192.168.XXX.XXX:61208 (Press CTRL+C to quit)

What one see’s from the browser from the server output side

Cons
based on python thus it is resource heavy compared to Top / Htop / Btop.
Fails to report Cores and threads individually, instead just reports just the processor.
Pros
easy to actually setup for SSH or Web UI as the UI is contained within package.
Captures many desired sensors and process that many wish to track / monitor.
Can be setup as service for web based UI, so one doesn’t have to SSH / or log-in and start the program.

1 Like