Install
openclaw skills install linux-opsLinux 运维速查。当需要:(1) 进程管理 (2) 日志分析 (3) 网络诊断 (4) 性能监控 (5) 用户管理时使用。
openclaw skills install linux-opsLinux 运维命令速查手册。
ps aux | grep nginx # 查找进程
kill -9 PID # 终止进程
systemctl status nginx # 服务状态
journalctl -u nginx -f # 服务日志
top / htop # CPU/内存
free -h # 内存
df -h # 磁盘
du -sh /var/log # 目录大小
ip addr # 网络接口
netstat -tuln # 监听端口
ss -tun # 连接状态
ping -c 5 host # 测试连通
curl -v https://example.com # HTTP 测试
tail -f /var/log/syslog # 实时查看
grep "error" /var/log/syslog # 搜索日志
journalctl -u nginx --since "1 hour ago"
find /path -name "*.py" # 按名称查找
find / -size +100M # 按大小查找
grep -r "pattern" /path # 递归搜索
find / -type f -size +100M 2>/dev/null
du -ah / | sort -rh | head -20
awk '{print $1}' access.log | sort | uniq -c | sort -rn | head
awk '{print $9}' access.log | sort | uniq -c | sort -rn
lsof -i :80
netstat -tlnp | grep 80
tldr command