tetris11@lemmy.ml to Linux@lemmy.ml · 1 month agoLow resource system activity reporting tool? i.e. "What caused that CPU spike on my laptop 10 mins ago?"message-squaremessage-square6fedilinkarrow-up152arrow-down11file-text
arrow-up151arrow-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 · 1 month agomessage-square6fedilinkfile-text
Any recommendations for low-impact tools I can use to better understand the activity of expired processes?
minus-squaretetris11@lemmy.mlOPlinkfedilinkarrow-up12arrow-down2·1 month 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.
minus-squarejwt@programming.devlinkfedilinkarrow-up7·1 month agofyi, systemctl disable/enable has a --now flag
Sar?
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