dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:tcgbp/dsh-flash-mem-mon
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Performance monitor provider for dsh-flash — registers a host-performance-alert provider (RSS absolute thresholds, RSS growth rate, Major GC frequency) via ctx.get('dshFlashAlerts') and exposes /memory-trend for trend sparklines.
dsh plugin --profile <profile> add dsh-flash-mem-mon
Requires dsh-flash >=1.0.0 (provides dshFlashAlerts and quickControl services).
All settings are live-editable (volatile) and take effect immediately:
| Setting | Default | Description |
|---|---|---|
memThresholdInfo |
256 MB | RSS info threshold |
memThresholdWarning |
512 MB | RSS warning threshold |
memThresholdError |
1024 MB | RSS error threshold |
memThresholdCritical |
1536 MB | RSS critical threshold |
memPollBase |
30000 ms | Base polling interval |
memPollMin |
2000 ms | Minimum polling interval |
gcThreshold |
0.5 /min | Major GC frequency alert threshold (events/min over the last 5 min); an early warning that is suppressed while an RSS (absolute or growth) alert is active. Set 0 to disable |
memGrowthAlertPerMin |
1 MB/min | RSS growth-rate (linear-regression slope) alert threshold, applied with trend = up |
This is a companion plugin following the same two-half pattern as dsh-flash-net-mon:
src/index.ts → tsc → dist/index.js): Memory trend ring buffer, GC observer, /memory-trend HTTP routelib/client.js): Alert provider, enable toggle, config modal with sparkline, i18n via DSH's locale serviceApache-2.0
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。