On the Mac, if I have a “stuck” app, I can fire up Activity Monitor and sample the process to get an idea of what it’s doing. What is the equivalent of this on Linux? (Note: I might need a step-by-step as I’ve tried to figure out perf and profile without luck.)
It’s important to note that there is no GUI available on the Linux box so I need a strictly CLI solution.