2

I am using a 512MB Ubuntu 12 VPS. I'd like to get a daily (maximum) memory consumption log, as a reference to add more memory or not.

Is there a tool for this?

ohho
  • 975
  • 8
  • 18
  • 34

2 Answers2

2

I recommend Munin for trending your system statistics.

$ sudo apt-get install munin munin-node

This will install two packages, munin for aggregating data and munin-node for collection of data from your system. When munin has been running for a while, you can take a look at the visualized data from it and consider if you need more memory or not.

By default, munin will create HTML-files in the directory /var/cache/munin/www. Serve these files by a web server and start watching your system trends.

It is also a great tool for trending other statistics.

pkhamre
  • 5,900
  • 3
  • 15
  • 27
0

For detailed statistics, install sysstat and learn how to use sar(1). You know you need more memory when the paging traffic goes high.

vonbrand
  • 1,153
  • 2
  • 8
  • 16