multi
multi
I've examined OpenBSD `top(1)`'s behaviour, and I found the following: - OpenBSD's `top(1)` shows either processes or threads -- it does not show both at the same time. The list...
The CPU values shown are similar to your first example, i.e. the CPU usage for the overall process is the sum total of the CPU usage of each individual thread.
> In that case, in the case of single-threaded processes, how about just not adding the main thread as a child of the process? In other words, if it has...
Okay, I've modified the process listing code to first enumerate all processes on the system, and then find all the threads for each process. This means that single-threaded processes will...