Repository navigation
WebUI 系统监控:占用仪表、内存 / CPU 构成、存储;PPP / tun 不再显示 unknown - #4
Merged
Merged
Conversation
… split, storage; ppp/tun no longer 'unknown' - 实时监控: WAN live rate with sparklines; CPU / memory / connections / temperature / config storage / /tmp gauges with 5-minute trends; memory bar (programs / cache / free + zram); per-core stacked CPU bars; rates at once - 总览: usage gauges and CPU usage - shared gauge() / spark() / cpuBusy(); lineChart keeps a fixed height with HTML value labels - mon.now reports disks; mock mon.now counters advance over time - interfaces: operstate 'unknown' (ppp, tun) resolved by IFF_UP|IFF_RUNNING, raw value as oper_raw - README: new screenshots (synthetic demo data) Closes #1 Closes #2 Claude-Session: https://claude.ai/code/session_01JNYstNakN2UFKH2oML3SbM
This was referenced Sep 25, 2026
Closed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
系统监控(#2)
/tmp的占用仪表,附 5 分钟走势(≥ 70 % 琥珀色,≥ 90 % 红色);内存构成条(程序 / 可回收缓存 / 空闲 + zram);CPU 每核堆叠条
(用户 / 系统 / 硬中断 / 软中断 / iowait);打开页面后立即显示速率。
gauge()/spark()/cpuBusy();lineChart()固定像素高度 + HTML 坐标标签(修复宽卡片里文字被拉伸)。mr mon now增加disks;mock 后端的mon.now计数随时间变化,开发时能看到实时效果。接口状态(#1)
operstate恒为unknown:现在按IFF_UP|IFF_RUNNING显示up/down,原始值保留为oper_raw。TestEffOper。README:新截图(全部为合成演示数据)。
验证
tools/ci.sh全部通过(gofmt、vet、单元测试、交叉编译、nft / dnsmasq / hostapd / sing-box 端到端)。截图
Closes #1
Closes #2
https://claude.ai/code/session_01JNYstNakN2UFKH2oML3SbM