Re: Make top display thread IDs

2009-10-07 Thread Ryan Stone
If a thread has a name, top -H will display it in parentheses after the executable name. One option would be to print the tid there if the thread has no name. ___ freebsd-hackers@freebsd.org mailing list

Re: Make top display thread IDs

2009-10-07 Thread Andrew Brampton
2009/10/7 Ryan Stone ryst...@gmail.com: If a thread has a name, top -H will display it in parentheses after the executable name.  One option would be to print the tid there if the thread has no name. Thanks for your suggestion. I would like the TID always to be displayed, so displaying it

Make top display thread IDs

2009-10-04 Thread Andrew Brampton
Hello, I was using top -H to display all the different threads on my system. I then wanted to use cpuset to pin a thread to a particular core, however, I couldn't find the thread ID. So I've hacked top to display thread IDs. Hopefully this patch is useful to something, and perhaps it should be