How to see memory usage history

memoryramstatistics

I am familiar with several commands like top, htop, free, etc. However, is there a command to see the peak/burst memory usage of the entire server (not individual processes) over, say, the last 30 days/24 hours/etc.?

Best Answer

atop tracks historical metrics and is command line based.

It's packaged in Debian/Ubuntu and Fedora.

https://www.atoptool.nl/index.php