https://github.com/floe/nanosysinfo
Lightweight remote system monitor script (geared towards RasPi)
https://github.com/floe/nanosysinfo
linux python python3 raspberry-pi
Last synced: 3 months ago
JSON representation
Lightweight remote system monitor script (geared towards RasPi)
- Host: GitHub
- URL: https://github.com/floe/nanosysinfo
- Owner: floe
- License: gpl-3.0
- Created: 2023-03-27T09:35:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-22T11:04:33.000Z (over 1 year ago)
- Last Synced: 2025-06-01T22:57:39.806Z (about 1 year ago)
- Topics: linux, python, python3, raspberry-pi
- Language: Python
- Homepage:
- Size: 374 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nanosysinfo

I've got a few Raspberry Pi(e)s scattered around the house (webcam, pihole, etc.) and wanted a lightweight remote-capable system monitor for them. Most are still Gen 1 or Zero, so they are definitely resource-constrained. Of course, I googled around a fair bit, but only found either shell scripts purely for local console usage, or full-blown fleet management systems with databases and logging and whatnot.
So, obviously, I had to roll my own, and here you go. The only commandline switch is `-d` which will start the script in "daemon" mode, listening to HTTP requests on port 8000. Otherwise, you get the output directly on the console. As a little extra, if you poll the script remotely with `curl`, you will also get nicely coloured console output instead of HTML (which is otherwise the default for browsers).
For a quick install on any Pi, run `wget https://github.com/floe/nanosysinfo/raw/main/nanosysinfo.py`
And yes, I know you shouldn't screenscrape `apt` or `ping`, and `iwconfig` is deprecated. Yeah well. 🤷