shirou / gopsutil

psutil for golang
Other
10.6k stars 1.59k forks source link

Add support for reading AnonHugePages from /proc/meminfo #1519

Closed kevinconaway closed 1 year ago

kevinconaway commented 1 year ago

This commit adds support for reading the AnonHugePages field from /proc/meminfo.

The values in this field allow monitoring the THP usage by systems that use this type of memory