How do I show running processes for every user? Only the processes.
ps -e or
ps -A, but it also shows the [ name ] which are threads.
ps does not show threads-as-such. The processes with names in
] are part of the kernel. You can deduce that they are processes and not threads because the have a PID.
ps simply reads the process table and displays its contents in a readable form. If you don't want to see those kernel processes you can always filter them out:
ps fax | grep -v ' \[[^] ]\+]' | cut -c 1-$COLUMNS
ps -ef | grep -v ' \[[^] ]\+]' | cut -c 1-$COLUMNS