Yes, actual process ID: on upgrades, our network extension sometimes decides to become completely incommunicado as far as XPC is concerned -- any attempt to send an XPC message to it results in "couldn't communicate with a helper application" or similar. The only workaround I've been able to come up with is unloading and reloading the extension.
It was suggested that I try killing it. Which, great, but... how would I get it's pid? I do not at all feel comfortable launching pkill
; I could get all the processes on the system and look for the name. But is there a way for the wrapping process to be able to get the pid?