01 / 08
What a photograph cannot tell you
With ps and pstree you can see what is running and how it is related.
And something is missing. You cannot tell what is heavy right now.
~ $ psPID USER COMMAND 1 root init 78 learner -shNothing in that list says which one is eating the CPU.
What ps shows is a photograph of that instant. Heaviness is "how much it ran over a stretch of time", and one photograph cannot measure it.
So you need a tool that shows a film. That is top.