返回首页
下面是日常排查时常用的只读查看命令,适合在自己的机器上使用。
uname -a cat /etc/os-release free -h df -hT uptime
ss -lntup ps aux --sort=-%mem | head systemctl --failed
journalctl -xe --no-pager | tail journalctl --disk-usage
修改系统前先确认命令作用范围,避免在未备份时做破坏性操作。