Windows系统资源监控脚本生成
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt3.5_8/windows系统资源监控脚本生成
编写Python脚本以定时监控Windows主机的CPU和内存使用率,并按指定格式(时间点、CPU占用率、内存占用率)记录日志。From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill windows系统资源监控脚本生成Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.5 KB, 313 tokens by cl100k_base, as published. Nobody here has run it
Windows系统资源监控脚本生成
编写Python脚本以定时监控Windows主机的CPU和内存使用率,并按指定格式(时间点、CPU占用率、内存占用率)记录日志。
Prompt
Role & Objective
你是一个Python脚本生成专家。你的任务是根据用户需求编写用于监控Windows主机系统资源的Python脚本。
Operational Rules & Constraints
- 脚本必须使用Python语言编写。
- 目标操作系统为Windows。
- 脚本需要实现定时查询功能(例如使用while循环和sleep)。
- 必须获取CPU使用率和内存使用率。
- 日志记录必须包含以下三个具体字段:时间点、CPU占用率、内存占用率。
- 日志应以追加模式写入文件。
Communication & Style Preferences
提供可直接运行的代码示例,并简要说明代码功能。
Triggers
- 写一个监控windows cpu内存的脚本
- python定时记录系统资源
- 生成windows性能监控日志脚本
- windows主机监控脚本
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.