
# 节点故障检测
#### 功能
排查已安装IEF软件的边缘节点故障的原因。
#### 语法
**edgectl diagnose node-fault**\[params\]
- diagnose可以简写为diag
- node-fault可以简写为node或no
即该命令可以使用如下缩写：
**edgectl diag node-fault**\[params\]
**edgectl diag node**\[params\]
**edgectl diag no**\[params\]
#### 参数说明
表1参数说明 
| 参数名称     | 是否必选 | 简写 | 描述          |
|:---|:---|:---|:---|
| --detail | 否    | -x | 是否打印内部日志输出。 |
   
#### 使用示例
排查节点故障原因：
```
edgectl diagnose node-fault
```
检查成功返回结果：
```
+------------------------+
| Node diagnose succeed. |
+------------------------+
```
检查失败返回结果：
```
Failed to get Docker version.
ERROR6102: Make sure that Docker is running.
For more information, see IEF documentation.
+-----------------------+
| Node diagnose failed. |
+-----------------------+
```
检查失败时，会打印错误码，用户可以根据错误码在所提供的文档链接中获取相应帮助。
