Is it possible to get a count of how many times a process has changed its state? (from running to interruptible sleep for example)
I have a process that calls another process and i would like to track how many calls happened (Neither processes were written by me), the called process is in interruptible sleep until called, then changes to running, then changes back to interruptible sleep until called again.
strace
on the processes?