]> git.ipfire.org Git - thirdparty/collectd.git/commit
vmem: add metrics start with "pgscan_" in Kernel Linux
authortiozhang <zyhtheonly@yeah.net>
Wed, 1 Mar 2023 06:19:15 +0000 (14:19 +0800)
committerMatthias Runge <mrunge@matthias-runge.de>
Sun, 26 Mar 2023 17:49:34 +0000 (19:49 +0200)
commita8069c10a05d93b6aae0e52b1c6a14e54350fe6f
treee3ea8f0b45ee838ecf4e40b8e20953eaae5cd1ff
parent4cebbfc1ed4b44644d981df996a8ca941e38e8a1
vmem: add metrics start with "pgscan_" in Kernel Linux

Some Linux Kernel versions have metrics start with "pgscan_"
in /proc/vmstat, for instance:
```
cat /proc/vmstat | grep pgscan
pgscan_kswapd 0
pgscan_direct 0
pgscan_direct_throttle 0
```

Signed-off-by: tiozhang <zyhtheonly@yeah.net>
Signed-off-by: luffysong <zsfz_one@163.com>
Co-authored-by: luffysong <zsfz_one@163.com>
src/vmem.c