Skip to content

Instantly share code, notes, and snippets.

@jhyland87
Created March 12, 2018 21:27
Show Gist options
  • Save jhyland87/421b772fec22e2f3df7794eb7f66de20 to your computer and use it in GitHub Desktop.
Save jhyland87/421b772fec22e2f3df7794eb7f66de20 to your computer and use it in GitHub Desktop.
Using the taskinfo command to get info on Chrome, and using lsappinfo to get Chromes PID.
$ sudo taskinfo $(lsappinfo info com.google.Chrome -only pid | cut -d'=' -f2)
process: "Google Chrome" [96843]
coalition (type 0) ID: 344
coalition (type 1) ID: 0
suspend count: 0
virtual bytes: 4.07 GB; resident bytes: 543.17 MB
run time: 349997 s
user/system time (current threads): 3415.911501 s / 806.561131 s
user/system time (terminated threads): 459.655692 s / 117.408499 s
interrupt wakeups: 2115973 (737016 / 34.83% from platform idle)
default sched policy: POLICY_TIMESHARE
dirty tracking: untracked
boosts: 0 (0 externalized)
requested policy (0x85010b702150200):
req apptype: TASK_APPTYPE_APP_DEFAULT
req role: TASK_BACKGROUND_APPLICATION
req qos clamp: THREAD_QOS_UNSPECIFIED
req base/override latency qos: LATENCY_QOS_TIER_0 / LATENCY_QOS_TIER_UNSPECIFIED
req base/override thruput qos: THROUGHPUT_QOS_TIER_0 / THROUGHPUT_QOS_TIER_UNSPECIFIED
req darwin BG: NO
req internal/external iotier: THROTTLE_LEVEL_TIER0 (IMPORTANT) / THROTTLE_LEVEL_TIER0 (IMPORTANT)
req darwin BG iotier: THROTTLE_LEVEL_TIER2 (UTILITY)
req managed: NO
req other:
suppression behaviors: active low-priority-cpu (4) low-priority-cpu (28) timer-throttling (LATENCY_QOS_TIER_4) disk-throttling suspend bg-sockets
effective policy (0x1ad02e1):
eff role: TASK_BACKGROUND_APPLICATION
eff latency qos: LATENCY_QOS_TIER_4
eff thruput qos: THROUGHPUT_QOS_TIER_0
eff darwin BG: NO
eff iotier: THROTTLE_LEVEL_TIER1 (STANDARD)
eff managed: NO
eff qos ceiling: THREAD_QOS_UNSPECIFIED
eff other: low-priority-cpu (4) bg-allsockets bg-newsockets suppression-active
imp_donor: CURRENTLY
imp_receiver: DE-NAP
adaptive daemon: NO (boosted: NO)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment