tetris11@lemmy.ml to Linux@lemmy.ml · 2 months agoLow resource system activity reporting tool? i.e. "What caused that CPU spike on my laptop 10 mins ago?"message-squaremessage-square6fedilinkarrow-up148arrow-down11file-text
arrow-up147arrow-down1message-squareLow resource system activity reporting tool? i.e. "What caused that CPU spike on my laptop 10 mins ago?"tetris11@lemmy.ml to Linux@lemmy.ml · 2 months agomessage-square6fedilinkfile-text
Any recommendations for low-impact tools I can use to better understand the activity of expired processes?
minus-squaretetris11@lemmy.mlOPlinkfedilinkarrow-up12·2 months agoYeah, 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.
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.
fyi, systemctl disable/enable has a --now flag