1. Review all processes
ps -eF
-e: Select all processes.
-F: Extra full format.
PSR (Processor) process where the CPU display.
2. Review all processes (including threads)
ps -eLF
-e: Select all processes.
-L: Show threads, possibly with LWP and NLWP columns.
-F: Extra full format.
LWP (Low Weight Process), shows the thread number TID. Linux kernel, the management of threads and processes without any distinction. For users, a process can contain multiple threads. The same PID and LWP, the thread is the main thread of the process.
3. custom format View
ps -eLo pid,lwp,nlwp,sched,pri,psr,args
-e: Select all processes.
-L: Show threads, possibly with LWP and NLWP columns.
-o: User-defined format.
You can see you want to see the parameters, such as scheduling policy and priority.
4. pstree
View in a tree format processes / threads pstree command.
pstree -p
-p: Show PIDs.
Ps related to the specific use and pstree, may wish to use the man command.