In Linux, supposing a thread\'s pid is [pid], from the directory /proc/[pid] we can get many useful information. For example, these proc files, /proc/[pid]/status,/proc/[pid
You can also use ps, something like this:
ps
ps -mo pid,tid,%cpu,psr -p `pgrep BINARY-NAME`