idevicediagnostics

Interact with the diagnostics interface of an iOS device

TLDR

Restart device
$ idevicediagnostics restart
Shutdown device
$ idevicediagnostics shutdown
Put device to sleep
$ idevicediagnostics sleep
Get diagnostics info
$ idevicediagnostics diagnostics
Get battery info
$ idevicediagnostics diagnostics GasGauge
Target a specific device by UDID
$ idevicediagnostics -u [UDID] restart
Print IORegistry for a specific plane
$ idevicediagnostics ioregistry IODeviceTree

SYNOPSIS

idevicediagnostics [options] command

DESCRIPTION

idevicediagnostics interacts with the diagnostics interface of an iOS device to retrieve diagnostics data, MobileGestalt data, and IORegistry information, as well as perform actions like restart, shutdown, and sleep. Part of the libimobiledevice suite. Available for iOS 4 and later; IORegistry access requires iOS 5 or later.

PARAMETERS

-u, --udid UDID

Target specific device by its UDID.
-n, --network
Connect to network device.
-d, --debug
Enable communication debugging.
-h, --help
Print usage information.
-v, --version
Print version information.

SUBCOMMANDS

diagnostics [type]

Print diagnostics information, optionally by type: All (default), WiFi, GasGauge, or NAND.
mobilegestalt key [key ...]
Print values of MobileGestalt keys.
ioregistry [plane]
Print IORegistry of device, optionally by plane (IODeviceTree, IOPower, IOService). iOS 5+ only.
restart
Restart the device.
shutdown
Shut down the device.
sleep
Put device to sleep.

INSTALL

sudo apt install libimobiledevice-utils
sudo dnf install libimobiledevice-utils
sudo apk add libimobiledevice-progs

SEE ALSO

ideviceinfo(1), idevicecrashreport(1), idevicepair(1), idevicebackup2(1), idevicesyslog(1), idevicescreenshot(1)