Replies: 3 comments 4 replies
-
I find something, but I do not know whether it is right Could not find platform dependent libraries <exec_prefix> from pymobiledevice3.remote.core_device_tunnel_service import create_core_device_tunnel_service |
Beta Was this translation helpful? Give feedback.
-
I believe you're addressing one of the following commands: pymobiledevice3 developer dvt sysmon process single
pymobiledevice3 developer dvt energy <PID LIST> Please note that starting at iOS 17, all the developer commands now require an RSD tunnel as specified in: |
Beta Was this translation helpful? Give feedback.
-
As for battery temperature,there is a solution python3 -m pymobiledevice3 diagnostics battery monitor and you can get info by 1hz {'InstantAmperagr':-141, 'Temperature': 3980, 'Voltage': 4447, 'IsCharging': False, CurrentCapacity': 100} And the unit of temperature is in Celsius. 3980 for example means 39.8℃ As for CPU usage, I need I tunnel connect first. By referring to this method(https://github.com/doronz88/pymobiledevice3/blob/master/misc/RemoteXPC.md#reusing-the-macos-trusted-tunnel), you can reuse existing. if not , you need to create tunnel by yourself with command: sudo python3 -m pymobiledevice3 remote start-quic-tunnel You can get info as following:
And then execute the command: python3 -m pymobiledevice3 developer dvt sysmon process monitor --rsd fd7b:e5b:6f53::1 64337 0.01 Parameter Description:
For example: [process(pid=1771, name='AutomationModeUI', cpuUsage=0.032), pid=91, name='bluetoothd', cpuUsage=1.98)] |
Beta Was this translation helpful? Give feedback.
-
I want to get system resource when I execute my test cases, How can I get it .
Very much looking forward to a reply
Beta Was this translation helpful? Give feedback.
All reactions