System Monitor: an App for tasks, memory and network, like btm #11
Closed
opened 2026-10-05 09:55:00 +00:00 by twisla
·
2 comments
No Branch/Tag Specified
Labels
Clear labels
area/apps
area/audio
area/build
area/cluster
area/gemini
area/gitea
area/gnss
area/ir
area/irc
area/lora
area/ota-debug
area/power
area/scripting
area/ssh
area/storage
area/ui
area/vpn
area/website
area/wifi
concern/memory
concern/security
Launcher and the apps in src/apps
Microphone, speaker, the codec, recording and playback
PlatformIO, Docker, scripts, partitions, sdkconfig
AtomS3 co-processors on Grove and the link protocol
GeminiService, the Gemini App, Saved Pages
The Gitea client: issues, releases, its TLS and its token
GnssService, the GNSS App, Tracks
The infrared LED and the IR Remote
IrcService and the IRC App
The Cap LoRa-1262 radio and the mesh
Updates, Probation, Safe Mode, Debug Console, crash reports
Battery, PowerService, sleep
Lua Apps from the SD card and their API
The SSH client and its terminal
StorageService, the SD card, Storage page
Canvas, widgets, dialogs, Toasts, fonts, keyboard
The WireGuard tunnel
The project website and its docs
WifiService, Wi-Fi Settings, Wi-Fi Tools
May push the heap towards its floors; measure on the device
TLS, signing, the debug token, trust on first use
kind
bug
Something that doesn't work as it should
kind
chore
Refactors, tooling, CI, scripts
kind
docs
README, CONTEXT, milestones, ADRs
kind
feature
Something new the device can do
priority
high
Next up
priority
low
Some day
priority
medium
Soon
status
blocked
Waiting on something else
status
needs-design
Needs a question round (Qnn) before code
status
ready
Designed; can be started
Milestone
No items
No Milestone
S1 System basics
Assignees
twisla (Clément Martin)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twisla/roro9stack#11
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Idea
A system monitor App in the spirit of
btmorhtop: live views of CPU and tasks, memory, network and storage. It has small graphs of recent history and works in release builds, not just through the Debug Console.Why
Every milestone so far has been driven by measurements: heap floors, stack trimming, TLS dips. Today they all need a Debug Build and a laptop. Seeing them on the device makes it easier to spot problems as they happen, and it's satisfying to watch.
What could be shown
info).What's known
printSystemandprintTasks(src/platform/system_info.cpp) write text to aPrint. They'd need splitting into a data model (structs) that both the Debug Console and the App use.uxTaskGetSystemStategives the tasks and their runtime counters; FreeRTOS runtime statistics are on in both release and debug builds. CPU % comes from the difference between two samples.CONFIG_LWIP_STATSis off. Options:temperature_sensordriver). It's rough, but enough to see trends.Questions for the design round
Related
src/platform/system_info.cpp,src/services/debug_console.cpp(info,tasks),sdkconfig.defaults(CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS,CONFIG_LWIP_STATS),docs/milestones/G1.md(Q86 floors), #7, #8, #9.Built on the
s1branch after a design round (docs/milestones/S1.md, Q117 to Q127), and checked on the device.The System App, in any build, read-only, five views with Tab between them: Overview, Tasks, Memory, Network, System. It samples once a second and keeps two minutes of history only while it's open.
Decided differently from the text above
netprints them.Found while building it
taskson the console measured inside its own wait and showed the loop asleep. It now samples across a second of normal running.Tested: traffic counts exact to the byte on a Gemini fetch; the Memory view shows a TLS dip through the three floors; low-stack tasks flagged (
IDLE0,IDLE1,spk_task, all the framework's).To close when
s1is merged.Shipped in v0.8.0 (
s1merged intomain).