# idevicediagnostics > 与iOS设备的诊断界面进行交互。 > 更多信息:。 - 打印诊断信息: `idevicediagnostics diagnostics` - 打印mobilegestalt键值: `idevicediagnostics mobilegestalt {{key1}} {{key2}}` - 关闭、重启或使设备进入睡眠状态: `idevicediagnostics {{shutdown|restart|sleep}}`