tcpu For MacOS - Print the CPU and threadid for threads of a mach task. MacOS ps does not have the ability to display thread id. Also prints the thread id in hex (Java native id) which is very useful for debugging Java processes cpu usage.