登录服务器想查看磁盘使用情况,使用了df,但卡住半天没有响应。
yum -y install strace
运行strace df -h,发现最后卡在了 stat("/proc/sys/fs/binfmt_misc", 无法进入这个路径“/proc/sys/fs/binfmt_misc”
解决方式: systemctl restart proc-sys-fs-binfmt_misc.automount
登录服务器想查看磁盘使用情况,使用了df,但卡住半天没有响应。
yum -y install strace
运行strace df -h,发现最后卡在了 stat("/proc/sys/fs/binfmt_misc", 无法进入这个路径“/proc/sys/fs/binfmt_misc”
解决方式: systemctl restart proc-sys-fs-binfmt_misc.automount