Unless I’m using the wrong terms in my search it really seems like there’s no tool for Linux that can tell me what processes used the most CPU (typically this has a high correlation with energy usage) in the last hour or 24 hours.
Basically I want something like the Android battery usage app but for Linux.
When you pipe the output, it’s a single shot, no dynamic updates.
Right, I just meant I figured the data might shift horizontally between snapshots but I guess Awk can figure it out.