check historical memory or swap utilization with sar in linux

Examples:

Memory – sar -r -f /var/log/sa/sa31 -s 10:00:00

Swap – sar -S -f /var/log/sa/sa31 -s 10:00:00

Advertisements