DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-sysmon

A

dsh-sysmon

Manifest valid★ 2

DSH Web System Status Overlay: Real-time CPU/Memory/Disk Usage | System-status overlay showing live CPU, memory and disk usage for DSH Web

UI (client)hasBundlePatch

dsh-sysmon

DSH Web 的系统状态悬浮窗:固定在页面右下角,每 1 秒刷新显示 CPU、内存、磁盘占用率。

CPU 39%/16    MEM 46%    DISK 22%

显示规格

  • 位置:右下角固定悬浮,pointer-events: none,不遮挡界面操作。
  • 配色:默认浅灰色小字(等宽字体、11px)。
  • 刷新:1 秒一次。

阈值规则

指标默认(浅灰)橙色红色
CPU(x%/y)< 90%×核心数x ≥ 90%×核心数x ≥ 98%×核心数
内存≤ 80%> 80%> 90%
磁盘≤ 80%> 80%> 90%
  • CPU:x% 为所有核心使用率之和(可超过 100%),y 为总核心数;阈值按总容量比例计算。
  • 内存 / 磁盘:超过 80% 橙色、超过 90% 红色。

安装

从 GitHub 仓库安装:

dsh plugin --profile web add github:AKS1st/dsh-sysmon
dsh web

或 clone 到本地后从本地目录安装:

git clone https://github.com/AKS1st/dsh-sysmon.git
cd dsh-sysmon
npm install
npm run build
dsh plugin --profile web add .
dsh web

工作方式

  • Host(src/index.ts):通过 ctx.interval 挂载每秒运行且随插件生命周期清理的后台采样器,经 ctx.shell 采样(/proc/stat、nproc、/proc/meminfo、df -P /),把最新快照写入内存缓存。路由 GET /dsh-sysmon/api 只返回缓存(亚毫秒、零子进程开销),并拒绝非 GET 方法与跨源浏览器请求。CPU 使用率为相邻两次采样之间的增量(窗口约 1 秒),首次采样显示 0。
  • Client(src/client/index.ts):创建 #dsh-sysmon 固定定位元素,每 1 秒 fetch 一次路由,带 in-flight 守卫避免请求重叠;重绘只更新三个数值节点(diff 式)。纯 DOM 实现、零运行时依赖。

已知限制

  • 仅 Linux——宿主采集器读取 /proc/stat、/proc/meminfo 与 df;其他平台需要不同的采集器。
  • 仅根文件系统——磁盘占用只报告 /,按挂载点选择暂缓。
  • 采样窗口近似——CPU 百分比是相邻两次采样(约 1 秒)间隔内忙时占比,窗口内瞬时突发被平均。

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.1.5-rc.2: failedDSH 0.1.6-alpha.1: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——

Comments

Loading…

Similar plugins

dsh-system-monitor

Displays real-time CPU and memory usage for the machine running the DSH Web server.

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-system-monitor

Sidebar system monitor for the DSH Web UI: live host overview (CPU/memory/network/disk), process list, and Docker container status, all read-only.

UI & ExperienceManifest valid

★ 1

MIT

JavaScript

dsh plugin --profile web add dsh-side-monitor

by lsl1931

DSH Web 插件:在左侧边栏底部(设置按钮上方)常驻一枚 CPU / 内存占用药丸,点击展开逐核占用、时间片构成、内存细分、交换分区、系统负载与进程 Top5 详情。

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 22, 2026

dsh plugin --profile web add dsh-resource-bar

Real-time host performance monitoring for the DeepSeek Harness right Sidebar: CPU / memory / swap gauges plus a sortable process table. · DSH 右侧栏实时性能监控

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add @xmwengxing/dsh-client-ui-sidebar-perfmon

Windows system-tray launcher for DeepSeek Harness Web: start, stop, restart, open the Web UI, tail logs, live status icon, and a launch-at-login toggle.

Development & InfrastructureManifest valid

★ 0

dsh plugin --profile web add dsh-tray

by KhaosGx

Service control panel in DSH Web settings: live host info (PID, versions, uptime, memory/CPU trends, active sessions), npm update banner, and a confirm-guarded graceful stop that warns when tasks are

Development & InfrastructureManifest valid

★ 1

↓ 217/wk

NOASSERTION

JavaScript

Sep 6, 2026

dsh plugin --profile web add dsh-stop-service