process and thread monitoring
I have some questions about monitoring of processes and threads in linux. I spent a lot of time searching them in the web and /proc files but without chance !
I hope to find responses in this forum !
1- Is it possible to get threads IDs of a given process (supposed that I have just the pid of this process) ?
2- Is it possible to get more informations about threads through /proc ?
3- Is it possible to know in which CPU a thread or a processes is running (if impossible to know which CPU, is it possible to know which node ID ?) ?
Any suggestion will be very useful. Thanks for your attention.