dsh-flash-mem-mon
Memory monitor provider for dock-flash — registers a host-memory-alert provider (RSS absolute, RSS growth rate, Major GC frequency) via ctx.get('dockFlashAlerts') and exposes /memory-trend for trend sparklines. 适合需要实时监控系统内存占用、GC频率并接收超限警报的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tcgbp/dsh-flash-mem-monConfiguration
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 |
gcThresholdInfo | 2 /min | Major GC info threshold |
gcThresholdWarning | 5 /min | Major GC warning threshold |
gcThresholdError | 10 /min | Major GC error threshold |