How to check IO policy of process

I'm running my application with sub-processes. One of that process should have IO Policy set to low and I'm wondering how to check that. I saw, that in crash reports is IO Policy mentioned but is there any way how to check this without crashing process?

Here is example of what I'm looking for: https://discussions.apple.com/thread/7493185?start=0&tstart=0


(please search for word policy and you will see IO policy important)


Replies

[my] process should have IO Policy set to low and I'm wondering how to check that.

You’ll probably find the droid you’re looking for in the output of

taskinfo
. It’s not something you’d want to use a shipping app, but it’s fine for this sort of testing.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"