Is it possible to get Swappiness Value?

Hi Engineers,

I am setting up a new dashboard. I would like to provide a Linux swappiness value in the dashboard. Are there any metrics available for obtaining the swappiness value?

Have you looked at node exporter?
or telegraf to extract this data to a db

As far as I know, there is no swappiness metrics available in the node exporter. Is there a way to get this value? It would be very helpful to create a custom dashboard for memory/swap monitoring.

I would try telegraf using a python script with psutil that pushes data to a csv file or to your fav database such as inflix or mysql on cron

1 Like