Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question, vnstat but for RAM or CPU usage? #270

Open
profesionalaiesam opened this issue Nov 24, 2024 · 1 comment
Open

Question, vnstat but for RAM or CPU usage? #270

profesionalaiesam opened this issue Nov 24, 2024 · 1 comment
Labels

Comments

@profesionalaiesam
Copy link

Hey, love the tool!

I wonder is there any alternative for tracking and saving data for RAM and CPU usage?

So I could use it like this?

image

@vergoh
Copy link
Owner

vergoh commented Nov 30, 2024

I had originally some ideas of including something like that in vnStat but rather fast realized that is would be more like feature creep and it wouldn't even fit well with the existing outputs anyway. The issue you get when trying to represent RAM and CPU usage is that those aren't counters but instead gauges. As a result, you wouldn't be able to show the daily usage in the same way you have in that screenshot as most likely the minimum / average / maximum CPU/RAM isn't that useful of information on a daily level. It works better if you have a graph which shows how the CPU/RAM usage varies over day/months.

Assuming a graphical representation is an option, with rrdtool you can rather easily get something like these created:

image
image

Or if you want something more interactive then I'd suggest looking at for example Grafana + InfluxDB, but those will obviously require far more resources to have running than rrdtool in comparison. Possibly there may also be tools targetting only this sort of monitoring but I haven't been searching for such so I don't know what the current alternatives would be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants