dsh-system-monitor-plugin
界面增强 活跃维护

dsh-system-monitor-plugin

JularDepick/dsh-system-monitor-plugin

可实时采集DSH系统进程的CPU、内存等资源使用数据,自动生成直观的统计图表并反馈结果,帮助用户快速掌握系统运行状态,部署简单无需额外配置。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
Apache-2.0
开源协议
121 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:JularDepick/dsh-system-monitor-plugin
git clone https://github.com/JularDepick/dsh-system-monitor-plugin.git
git clone git@github.com:JularDepick/dsh-system-monitor-plugin.git
README.md main
# dsh-system-monitor-plugin [![Version](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/Version-0.1.0-green)](https://github.com/JularDepick/dsh-system-monitor-plugin/tree/v0.1.0) [![Copyright](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/Copyright-JularDepick-0066AA)](https://raw.githubusercontent.com/julardepick/dsh-system-monitor-plugin/main/COPYRIGHT) [![License](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/License-MIT-yellow)](https://raw.githubusercontent.com/julardepick/dsh-system-monitor-plugin/main/LICENSE) [English](https://github.com/JularDepick/dsh-system-monitor-plugin/blob/main/README_en-US.md) | [简体中文]

面向 dsh 的插件:监控 dsh 系统进程的资源占用,并以图表形式向用户报告结果。

特性

  • 自动采集:dsh 进程及其派生子进程的 CPU 占用率与内存占用(GB、百分比)
  • 句柄汇报:提供汇报工具,Agent 可主动上报 subagent 等插件无法自主识别的进程句柄
  • 面板展示:监控数据只在插件 UI 面板展示,不暴露给 dsh 使用

安装

将本插件安装到 dsh profile:

dsh plugin --profile <name> add dsh-system-monitor-plugin

使用 tarball 分发时:

dsh plugin --profile <name> add dsh-system-monitor-plugin-0.1.0.tgz

使用

安装并启动后,插件在 Web UI 会话区域标签栏提供「系统监控」标签页,展示被监控进程的 CPU 占用率与内存占用(GB、百分比);需要纳入监控的外部进程句柄,由 Agent 在会话中通过汇报工具上报。

进程汇报机制的格式规范见 进程汇报机制与规范。

相关链接