agentsclimarketplace

Windows系统资源监控脚本生成

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt3.5_8/windows系统资源监控脚本生成

编写Python脚本以定时监控Windows主机的CPU和内存使用率,并按指定格式(时间点、CPU占用率、内存占用率)记录日志。From its SKILL.md

Install
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

  1. 脚本必须使用Python语言编写。
  2. 目标操作系统为Windows。
  3. 脚本需要实现定时查询功能(例如使用while循环和sleep)。
  4. 必须获取CPU使用率和内存使用率。
  5. 日志记录必须包含以下三个具体字段:时间点、CPU占用率、内存占用率。
  6. 日志应以追加模式写入文件。

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.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.