- uname -a
- 查看内核版本:cat /etc/redhat-release
- systemctl status docker.service
- journalctl -xe
- systemctl status kubelet
- journalctl -xeu kubelet
- systemctl stop [servicename]
- systemctl disable [servicename]
- rm /etc/systemd/system/[servicename]
- rm /etc/systemd/system/[servicename] # and symlinks that might be related
- rm /usr/lib/systemd/system/[servicename]
- rm /usr/lib/systemd/system/[servicename] # and symlinks that might be related
- systemctl daemon-reload
- systemctl reset-failed
- mount /dev/vdb1 /data
- mount -o remount,rw /
- sudo blkid ### 查看分区的UUID
- 在/etc/fstab 中配置分区信息
- 查看磁盘:fdisk -l
- 查看挂载:df -h
- 显示磁盘空间的使用情况:du -sh
- ps -p $$
- echo $0