ps -eL -o pid,lwp,nlwp,comm,command
Shows:
pid: PID lwp: Lightweight process ID nlwp: number of lightweight processes comm: thread name command: full command executed