2 ms·You may want to take a look at task_for_pid and other Mach APIs–ptrace is crippled on macOS.by saagarjha 9y agoYou may want to take a look at task_for_pid and other Mach APIs–ptrace is crippled on macOS.