dsh pluginsEnglish
← 返回热门插件目录

状态插件

woshi-Tom/dsh-status-plugin · 技能

可以方便的查看宿主机的运行状态,故障时方便排查

★ 2GitHub 星标
0分支
2026-08-25最近更新
TypeScript开发语言
MIT许可证

主要功能

  • Host 平面 — 以 JSON 形式暴露运行中 harness 的运行时健康状态:进程、监听器、API Key 是否存在、内存、磁盘、运行时长,以及实时的插件清单。
  • 字段host.· 来源: process + node:os(pid、运行时长、进程内存、LAN IPv4 地址)
  • cpuPercent 是基于 os.cpus() 增量采样得到的 CPU 利用率,全平台可用
  • snapshot — 完整状态快照,连接时立即发送,之后每 heartbeatMs(默认 30 秒)一次。
  • 每个快照卡片分解为 host.中的 cpuPercent、eventLoopDelayMs、loadAvg、systemMemory 与进程内存字段,供告警驱动的 UI 使用。

安装命令

dsh plugin --profile web add github:woshi-Tom/dsh-status-plugin
查看 GitHub 仓库 ↗返回热门插件目录