sudo apt update
sudo apt install sysstat -y
sudo apt start sysstat
sudo apt ensble sysstat
And then change the sysstat config file and change the ENABLED status to "true" in /etc/defaults/sysstat location and then restart the service by following command
sudo systemctl restsrt sysstat
and then give the commands to show the cpu utilise by
sar -u
sar -u 1 3
sar -r
sar -r 1 3
No comments:
Post a Comment