I'd like to be able to do the equivalent of getrusage(3)
for some of our other processes. These are daemons, so they're not connected in any way. Obviously, Activity Monitor
and top
can do the things I want, but I'm not Apple. 😄
I went down a maze of twisty APIs, all a-Mach, and have decided to ask.
(We're trying to keep track of the processes in the field. We also want to know what's going on if a process has stopped responding but hasn't died. I suppose I could, absolute worst case, periodically send getrusage(3)
info to the monitoring process.)