On Linux ps -eLf | grep my-process-name
gives a list of the threads within my process along with the TID of each thread.
On OSX ps -M pid
gives me the list of the threads but does not show the TID of each thread.
How can I see thread TIDs under a single process from the command line?