<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[DSH 做了一个系统监控小插件]]></title><description><![CDATA[<h1>DSH 系统监控悬浮卡</h1>
<hr />
<h2>先上效果图</h2>
<ul>
<li>
<p dir="auto">默认<br />
<img src="https://upload.lcz.me/uploads/9a6006ab-0856-4c10-b00a-c7f99976789d.jpeg" alt="2d92c7b6-d252-4d59-9abf-52dd09785a94-image.jpeg" class=" img-fluid img-markdown" /></p>
</li>
<li>
<p dir="auto">负载<br />
<img src="https://upload.lcz.me/uploads/e3c23a7a-b0e7-45bc-9176-5e069ea7b190.jpeg" alt="da816eb1-c1ef-4e24-8940-076cf799b321-image.jpeg" class=" img-fluid img-markdown" /></p>
</li>
<li>
<p dir="auto">随意拖拽、改变尺寸<br />
<img src="https://upload.lcz.me/uploads/570037bc-9c88-44f6-9ef3-f93b3ace9c44.jpeg" alt="59fa41ef-3dca-452d-b29e-c6e2d2d82789-image.jpeg" class=" img-fluid img-markdown" /></p>
</li>
<li>
<p dir="auto">隐藏<br />
<img src="https://upload.lcz.me/uploads/e5b5f324-999f-4a11-a59f-efa1bd7f0057.jpeg" alt="cbd6472f-b665-45df-a79c-a45fae13afa2-image.jpeg" class=" img-fluid img-markdown" /></p>
</li>
</ul>
<hr />
<h2>说明</h2>
<p dir="auto">1、参考了zhubaohi/dsh-gpu-pulse等插件的效果<br />
2、各项显示数值的时效与nvitop大体一致或更快<br />
3、引擎项需SGLang（开启--enable-metrics）<br />
4、监控卡可在DSH中随意拖拽位置，悬浮于页面不被遮挡<br />
5、鼠标在监控卡的右下角可以调整卡尺寸<br />
6、点击左下蓝点可隐藏或恢复监控卡</p>
<hr />
<h2>Github地址</h2>
<p dir="auto"><a href="https://github.com/Neo-113/dsh-monitor-card" rel="nofollow ugc">https://github.com/Neo-113/dsh-monitor-card</a></p>
]]></description><link>https://lcz.me/topic/1707</link><generator>RSS for Node</generator><lastBuildDate>Sun, 20 Sep 2026 23:19:00 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/1707.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Sep 2026 20:29:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DSH 做了一个系统监控小插件 on Wed, 16 Sep 2026 14:23:29 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neo" aria-label="Profile: neo">@<bdi>neo</bdi></a> <a href="/post/18262">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/heheimback" aria-label="Profile: heheimback">@<bdi>heheimback</bdi></a> 这个插件主要用在远程使用dsh时，可以随时看到主机状态的，如果本地用dsh确实可以不用。</p>
</blockquote>
<p dir="auto">我是自己写了一个墨水屏的物理看板</p>
]]></description><link>https://lcz.me/post/18662</link><guid isPermaLink="true">https://lcz.me/post/18662</guid><dc:creator><![CDATA[张光璞]]></dc:creator><pubDate>Wed, 16 Sep 2026 14:23:29 GMT</pubDate></item><item><title><![CDATA[Reply to DSH 做了一个系统监控小插件 on Tue, 15 Sep 2026 01:48:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/heheimback" aria-label="Profile: heheimback">@<bdi>heheimback</bdi></a> 这个插件主要用在远程使用dsh时，可以随时看到主机状态的，如果本地用dsh确实可以不用。</p>
]]></description><link>https://lcz.me/post/18262</link><guid isPermaLink="true">https://lcz.me/post/18262</guid><dc:creator><![CDATA[neo]]></dc:creator><pubDate>Tue, 15 Sep 2026 01:48:52 GMT</pubDate></item><item><title><![CDATA[Reply to DSH 做了一个系统监控小插件 on Tue, 15 Sep 2026 01:46:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jun" aria-label="Profile: Jun">@<bdi>Jun</bdi></a> 可以用，让agent稍微改下，能读到推理机的nvidia-smi数据就行了，引擎项本身就支持配置为远程地址。</p>
]]></description><link>https://lcz.me/post/18260</link><guid isPermaLink="true">https://lcz.me/post/18260</guid><dc:creator><![CDATA[neo]]></dc:creator><pubDate>Tue, 15 Sep 2026 01:46:27 GMT</pubDate></item><item><title><![CDATA[Reply to DSH 做了一个系统监控小插件 on Tue, 15 Sep 2026 01:19:09 GMT]]></title><description><![CDATA[<p dir="auto">不错，不过我用linux，有桌面插件，用不到这个</p>
]]></description><link>https://lcz.me/post/18253</link><guid isPermaLink="true">https://lcz.me/post/18253</guid><dc:creator><![CDATA[heheimback]]></dc:creator><pubDate>Tue, 15 Sep 2026 01:19:09 GMT</pubDate></item><item><title><![CDATA[Reply to DSH 做了一个系统监控小插件 on Tue, 15 Sep 2026 00:55:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neo" aria-label="Profile: neo">@<bdi>neo</bdi></a> 請問如果是推理機跟宿主機分開能用嗎？🫪</p>
]]></description><link>https://lcz.me/post/18239</link><guid isPermaLink="true">https://lcz.me/post/18239</guid><dc:creator><![CDATA[Jun]]></dc:creator><pubDate>Tue, 15 Sep 2026 00:55:18 GMT</pubDate></item><item><title><![CDATA[Reply to DSH 做了一个系统监控小插件 on Mon, 14 Sep 2026 22:01:51 GMT]]></title><description><![CDATA[<p dir="auto">不错，DSH 里一直缺一个轻量常驻的服务/GPU 面板。两个实现上的建议：</p>
<ol>
<li>
<p dir="auto">数据源尽量一次采样复用：GPU 直接走 NVML（pynvml），别起 nvtop/nvitop 子进程解析输出，轮询一密子进程开销比采样本身还大；SGLang 的 --enable-metrics 是 Prometheus 文本，流式抓需要的行即可，别整段拉。</p>
</li>
<li>
<p dir="auto">悬浮层开销：拖动/改尺寸用 transform + 绝对定位，别每帧触发布局重排；数值刷新按 1s 节流；隐藏和页面切到后台（visibilitychange）时停掉定时器。</p>
</li>
</ol>
<p dir="auto">轮询间隔做成可配置（默认 1–2s）基本就够用了。</p>
]]></description><link>https://lcz.me/post/18222</link><guid isPermaLink="true">https://lcz.me/post/18222</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Mon, 14 Sep 2026 22:01:51 GMT</pubDate></item></channel></rss>