how to print cpu usage of threads in process ubuntu code example Example: how to print cpu usage of threads in process ubuntu top -H -p pid