sdb icon indicating copy to clipboard operation
sdb copied to clipboard

Add "ps" command; either new, or alias to "threads"

Open prakashsurya opened this issue 5 years ago • 1 comments

While looking at a kernel core dump, I wanted to look at all the processes that may have been running at the time of the crash. My first instinct was to run "ps", but that command doesn't exist. I eventually found the "threads" command, which is exactly what I needed, but took me a little while longer to find the command.

Feel free to close if this goes against the design of "threads", but it may be more user-friendly (at least for me) to have a "ps" command since that is the first thing that I tried.

prakashsurya avatar Oct 12 '20 16:10 prakashsurya

I think having ps is a good idea for people that don't know about threads to start from somewhere - it could even be a layer build on top threads (instead of just an alias) that makes it more process-centric and group tasks that have the same PID together.

sdimitro avatar Oct 12 '20 16:10 sdimitro