How to check the System Performance of Yesterday ?
Hai,
I want to check the system performance of yesterday timing like 5.00 PM to 6.00 PM ? like cpu utilization. Is it Possible ? |
Quote:
- Linux and Unix sar command - sar - examples If sar hasn't been set up yet then you cannot get info about earlier events (I'm not sure if your question is actually about yesterday). It must be active in order to get information. |
if, when sysstat is installed (this is the package that contains 'sar', use
Code:
sar -f /var/log/sa/sa28 -s 17:00:00 -e 18:00:00 Ubuntu: Code:
apt-get install -y sysstat Code:
yum install -y sysstat Code:
date +"%d" --date="1 days ago" Code:
sar -f /var/log/sa/sa$(date +"%d" --date="1 days ago") -s 17:00:00 -e 18:00:00 |
All times are GMT -5. The time now is 10:44 PM. |