author | Florian Forster <octo@collectd.org> | |
Tue, 16 Sep 2014 05:19:09 +0000 (07:19 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 16 Sep 2014 05:22:37 +0000 (07:22 +0200) | ||
commit | 8b618e1fb63ca5f8c741e95651bc41cf6e454588 | |
tree | 82e57d052917b265904bdd806543c9e6275cefb9 | tree | snapshot |
parent | 99a97458c2d735c9a91e9ecc45bf33fa338695ad | commit | diff |
swap plugin: Make SwapCached optional under Linux.
OpenVZ doesn't provide the line, which caused swap collection to be
skipped entirely on these systems. Instead, "cached" should simply be
ignored, as it is on other systems. Thanks to @zerkms for reporting this
problem!
Fixes: #733
OpenVZ doesn't provide the line, which caused swap collection to be
skipped entirely on these systems. Instead, "cached" should simply be
ignored, as it is on other systems. Thanks to @zerkms for reporting this
problem!
Fixes: #733
src/swap.c | diff | blob | history |