system-admin by chaterm/terminal-skills
npx skills add https://github.com/chaterm/terminal-skills --skill system-adminLinux 系统管理的核心命令和最佳实践,包括系统信息查看、资源监控、服务管理等。
# System version
cat /etc/os-release
uname -a
# Hostname
hostnamectl
# Uptime and load
uptime
# CPU information
lscpu
cat /proc/cpuinfo
# Memory information
free -h
cat /proc/meminfo
# Disk information
lsblk
df -h
# Comprehensive monitoring
top
htop
# Memory monitoring
vmstat 1
# IO monitoring
iostat -x 1
iotop
# Network monitoring
iftop
nethogs
# System activity report
sar -u 1 10 # CPU
sar -r 1 10 # Memory
sar -d 1 10 # Disk
# Service status
systemctl status service-name
systemctl is-active service-name
# Start/Stop services
systemctl start/stop/restart service-name
# Boot startup
systemctl enable/disable service-name
# View all services
systemctl list-units --type=service
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
# Quick health check script
echo "=== System Load ===" && uptime
echo "=== Memory Usage ===" && free -h
echo "=== Disk Usage ===" && df -h
echo "=== Failed Services ===" && systemctl --failed
# 1. Check load
uptime
# 2. Find high CPU processes
ps aux --sort=-%cpu | head -10
# 3. Find high memory processes
ps aux --sort=-%mem | head -10
| 问题 | 命令 |
|---|---|
| 系统卡顿 | top, vmstat 1, iostat -x 1 |
| 磁盘已满 | df -h, du -sh /*, ncdu |
| 内存不足 | free -h, ps aux --sort=-%mem |
| 服务异常 | systemctl status, journalctl -u |
每周安装量
147
代码仓库
GitHub 星标数
28
首次出现
2026 年 1 月 24 日
安全审计
已安装于
opencode122
gemini-cli117
codex111
github-copilot109
cursor109
openclaw106
Core commands and best practices for Linux system administration, including system information viewing, resource monitoring, service management, etc.
# System version
cat /etc/os-release
uname -a
# Hostname
hostnamectl
# Uptime and load
uptime
# CPU information
lscpu
cat /proc/cpuinfo
# Memory information
free -h
cat /proc/meminfo
# Disk information
lsblk
df -h
# Comprehensive monitoring
top
htop
# Memory monitoring
vmstat 1
# IO monitoring
iostat -x 1
iotop
# Network monitoring
iftop
nethogs
# System activity report
sar -u 1 10 # CPU
sar -r 1 10 # Memory
sar -d 1 10 # Disk
# Service status
systemctl status service-name
systemctl is-active service-name
# Start/Stop services
systemctl start/stop/restart service-name
# Boot startup
systemctl enable/disable service-name
# View all services
systemctl list-units --type=service
# Quick health check script
echo "=== System Load ===" && uptime
echo "=== Memory Usage ===" && free -h
echo "=== Disk Usage ===" && df -h
echo "=== Failed Services ===" && systemctl --failed
# 1. Check load
uptime
# 2. Find high CPU processes
ps aux --sort=-%cpu | head -10
# 3. Find high memory processes
ps aux --sort=-%mem | head -10
| Problem | Commands |
|---|---|
| System lag | top, vmstat 1, iostat -x 1 |
| Disk full | df -h, du -sh /*, ncdu |
| Memory shortage | free -h, ps aux --sort=-%mem |
| Service abnormal |
Weekly Installs
147
Repository
GitHub Stars
28
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode122
gemini-cli117
codex111
github-copilot109
cursor109
openclaw106
Azure 升级评估与自动化工具 - 轻松迁移 Functions 计划、托管层级和 SKU
90,800 周安装
systemctl status, journalctl -u |