Low resource system activity reporting tool? i.e. "What caused that CPU spike on my laptop 10 mins ago?"

Any recommendations for low-impact tools I can use to better understand the activity of expired processes?

42 points · 5 comments · view on lemmy.world

5 Comments

Shadow@lemmy.ca · 12 pts · 1y (2 replies)

Sar?

tetris11@lemmy.ml · 12 pts · 1y (1 reply)

Yeah, so this is the best one I've seen so far.

I've just installed it, but I'm stumped on the documentation on how to find the name of a high-load process from 10 mins ago.

Install and start the monitoring

sudo pacman -S sysstat
sudo systemctl {enable,start} sysstat

Find what processes were running 10 minutes ago

(first wait 10 minutes)

sar -P ALL -f /var/log/sa/sa$(date +%d -d '10 minutes ago')

nothing happens.

jwt@programming.dev · 8 pts · 1y

fyi, systemctl disable/enable has a --now flag

Dreyns@lemmy.ml · 7 pts · 1y (1 reply)

Sudo cpupower -c all frequency-set --max 0.8GHz No more spikes 😎👍👌

tetris11@lemmy.ml · 3 pts · 1y

That'd just prolong a mild spike instead

hades@lemm.ee · 4 pts · 1y
[ removed ]