360 Secure SkillHub
360 安全技能中心

Disk Watch

这是一款跨平台磁盘空间监控工具,核心功能含多磁盘实时监控、自定义阈值预警、空间占用大户排查、存储趋势追踪及清理建议。适用于服务器、个人PC等场景,避免磁盘满负荷影响运行。通过JS代码配置检测间隔、阈值后启动,输出直观的磁盘状态报告,含告警标识、占用排名及可回收空间提示。

theshadowrose
theshadowrose
热度 85.64
最近更新 2026-05-11 17:29:52
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / 数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add disk-watch
Metadata
name
DiskWatch Disk Space Monitor & Alert
description
Monitor disk space across drives. Alert before disks fill up. Track usage trends, find space hogs, suggest cleanup. Every server needs this.
author
@TheShadowRose
version
1.0.2
tags
["disk-watch"]
license
MIT

DiskWatch Disk Space Monitor & Alert

Monitor disk space across drives. Alert before disks fill up. Track usage trends, find space hogs, suggest cleanup. Every server needs this.


Get alerted before your disk fills up. Find what's eating space.

Usage

const { DiskWatch } = require('./src/disk-watch');
const watch = new DiskWatch({
  warningThreshold: 80,
  criticalThreshold: 90,
  checkInterval: 3600000  // hourly
});
watch.start();

Output

💾 Disk Status

C: 234/500 GB (47%) ✅
D: 890/1000 GB (89%) ⚠️ WARNING
E: 58/64 GB (91%) 🔴 CRITICAL

Top consumers (D:):
  1. /data/backups/  312 GB (35%)
  2. /data/logs/     198 GB (22%)
  3. /data/models/   145 GB (16%)

Suggestion: backups/ has 187 GB reclaimable (>90 days old)

Features

  • Multi-drive monitoring — all mounted drives
  • Threshold alerts — warning and critical levels
  • Space hog detection — largest directories
  • Trend tracking — "Disk growing 2 GB/day"
  • Cleanup suggestions — old files, duplicates
  • Cross-platform — Windows, Linux, macOS

⚠️ Disclaimer

This software is provided "AS IS", without warranty of any kind, express or implied.

USE AT YOUR OWN RISK.

  • The author(s) are NOT liable for any damages, losses, or consequences arising from the use or misuse of this software — including but not limited to financial loss, data loss, security breaches, business interruption, or any indirect/consequential damages.
  • This software does NOT constitute financial, legal, trading, or professional advice.
  • Users are solely responsible for evaluating whether this software is suitable for their use case, environment, and risk tolerance.
  • No guarantee is made regarding accuracy, reliability, completeness, or fitness for any particular purpose.
  • The author(s) are not responsible for how third parties use, modify, or distribute this software after purchase.

By downloading, installing, or using this software, you acknowledge that you have read this disclaimer and agree to use the software entirely at your own risk.

DATA DISCLAIMER: This software processes and stores data locally on your system. The author(s) are not responsible for data loss, corruption, or unauthorized access resulting from software bugs, system failures, or user error. Always maintain independent backups of important data. This software does not transmit data externally unless explicitly configured by the user.


Support & Links

🐛 Bug Reports TheShadowyRose@proton.me
☕ Ko-fi ko-fi.com/theshadowrose
🛒 Gumroad shadowyrose.gumroad.com
🐦 Twitter @TheShadowyRose
🐙 GitHub github.com/TheShadowRose
🧠 PromptBase promptbase.com/profile/shadowrose

Built with OpenClaw — thank you for making this possible.


🛠️ Need something custom? Custom OpenClaw agents & skills starting at $500. If you can describe it, I can build it. → Hire me on Fiverr