---
title: "【转】centos7 df命令卡死解决方法"
author: "Fanyucai"
date: "2020-02-06T11:45:56Z"
tags: []
categories: ["操作系统"]
slug: "centos7-df"
draft: false
lastmod: "2020-02-06T11:45:56Z"
id: 2512263
url: "https://fanyc.iteye.com/blog/2512263"
---

转自：[https://blog.csdn.net/sinat\_30802291/article/details/82837870](https://blog.csdn.net/sinat_30802291/article/details/82837870)

 

登录服务器想查看磁盘使用情况，使用了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**