LINUX Commands to Check CPU and Memory usage in past


To Check Memory


sar -f /var/log/sa/sa<day> -r

Ex. : For 5th Day

sar -f /var/log/sa/sa05 -r


To check CPU


sar -f /var/log/sa/sa<day> -u

Ex. : For 5th Day

sar -f /var/log/sa/sa05 -u


 


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!