htop
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "htop" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f1250b93e18f1046e82a6c0514fe832ba321c160b8898a9a3402be905c7c0f1a. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use htop and related tools to monitor system resources. Intended for checking CPU/memory usage, finding processes with high resource consumption, monitoring server performance, or diagnosing system bottlenecks.
Introduction source: third_party · TerminalSkills · 1.0.0 Reference
SkillPi interpretation
- Testing
- Not tested
Browse files
Frontmatter
name: htop
description: >-
Monitor system resources with htop and related tools. Use when a user asks
to check CPU/memory usage, find resource-hungry processes, monitor server
performance, or diagnose system bottlenecks.
license: Apache-2.0
compatibility: 'Linux, macOS'
metadata:
author: terminal-skills
version: 1.0.0
category: devops
tags:
- htop
- monitoring
- processes
- performance
- linuxhtop / System Monitoring
Overview
htop is an interactive process viewer for Linux. Combined with other CLI tools (top, vmstat, iostat, iotop, nethogs), it provides comprehensive real-time system monitoring without installing external agents.
Instructions
Step 1: Process Monitoring
htop # interactive process viewer
htop -u deploy # filter by user
htop -p 1234,5678 # monitor specific PIDs
# Inside htop:
# F5 = tree view (parent/child processes)
# F6 = sort by column
# F9 = kill process
# / = search
# Space = tag process
Step 2: Resource Analysis
# CPU and memory overview
free -h # memory usage (human-readable)
uptime # load average (1, 5, 15 min)
nproc # number of CPU cores
# Disk I/O
iostat -x 1 # disk I/O stats, 1 second interval
iotop # top for disk I/O (shows which process reads/writes)
# Network
nethogs # bandwidth per process
ss -tulnp # listening ports with process names
iftop # bandwidth per connection
Step 3: Quick Diagnostics Script
#!/bin/bash
# scripts/server-status.sh — Quick health check
echo "=== CPU Load ==="
uptime
echo -e "\n=== Memory ==="
free -h
echo -e "\n=== Disk ==="
df -h /
echo -e "\n=== Top 5 CPU Processes ==="
ps aux --sort=-%cpu | head -6
echo -e "\n=== Top 5 Memory Processes ==="
ps aux --sort=-%mem | head -6
echo -e "\n=== Listening Ports ==="
ss -tulnp | grep LISTEN
Guidelines
- Load average > number of CPU cores = system is overloaded.
free -h: look at "available" column, not "free" (Linux uses free RAM for cache).- Use
dstatfor combined CPU/disk/net stats in one view. - For historical monitoring, pair with Prometheus + Grafana or Netdata.
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供系统资源监控核心能力,覆盖 CPU、内存、磁盘、网络等关键指标
- 适用于开发者和运维人员的高频刚需场景,实用价值明确
Highlights
- 触发描述清晰覆盖多种监控场景,边界明确,用户易理解何时使用
Highlights
- 步骤划分清晰,包含交互式操作说明和快速诊断脚本
- frontmatter 完整,示例丰富,结构规范
Highlights
- 使用标准系统命令,参数正确,覆盖主要异常场景
- 提供组合工具使用建议,执行路径可靠
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.