360 Secure SkillHub
360 安全技能中心

Top Tool

该 Skill 通过 top-tool 命令实时列出运行中的进程并按 CPU 或内存占用排序,支持 -d 设置刷新间隔、-u 限定用户、-b 批处理日志模式、-o 指定排序字段,用于系统监控、性能调试和资源占用排查。

分类:自动化
dinghaibin
dinghaibin
热度 26.03
最近更新 2026-05-11 17:47:34

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/top-tool
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
top-tool
description
Display real-time view of running processes. Use for system monitoring, performance debugging, and resource management.

Top - Process Activity Monitor

Show real-time listing of running processes sorted by CPU or memory usage. Essential for identifying resource-intensive processes and system performance issues.

Usage

top-tool [options]

Options

  • -d N: Update interval in seconds
  • -u user: Show only processes for a user
  • -b: Batch mode for logging
  • -o FIELD: Sort by specific field

Examples

top-tool
top-tool -u root
top-tool -b -n 1