From aa9156ac59d9a5e73f5ae8247fbf1fcb872695b7 Mon Sep 17 00:00:00 2001 From: Filipe Pina Date: Fri, 19 Feb 2021 00:30:39 +0000 Subject: [PATCH] documentation changes for https://github.com/fluent/fluent-bit/pull/3092 --- pipeline/inputs/memory-metrics.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pipeline/inputs/memory-metrics.md b/pipeline/inputs/memory-metrics.md index 21b09ec15..82d260eda 100644 --- a/pipeline/inputs/memory-metrics.md +++ b/pipeline/inputs/memory-metrics.md @@ -1,6 +1,6 @@ # Memory Metrics -The **mem** input plugin, gathers the information about the memory and swap usage of the running system every certain interval of time and reports the total amount of memory and the amount of free available. +The **mem** input plugin, gathers the information about the memory and swap usage of the running system every certain interval of time and reports the total, buffer and free memory (as reported by [sysinfo](https://man7.org/linux/man-pages/man2/sysinfo.2.html)) and the memory available and cached (as reported by `/proc/meminfo`). ## Getting Started @@ -17,10 +17,10 @@ Fluent Bit v1.x.x * https://fluentbit.io [2017/03/03 21:12:35] [ info] [engine] started -[0] memory: [1488543156, {"Mem.total"=>1016044, "Mem.used"=>841388, "Mem.free"=>174656, "Swap.total"=>2064380, "Swap.used"=>139888, "Swap.free"=>1924492}] -[1] memory: [1488543157, {"Mem.total"=>1016044, "Mem.used"=>841420, "Mem.free"=>174624, "Swap.total"=>2064380, "Swap.used"=>139888, "Swap.free"=>1924492}] -[2] memory: [1488543158, {"Mem.total"=>1016044, "Mem.used"=>841420, "Mem.free"=>174624, "Swap.total"=>2064380, "Swap.used"=>139888, "Swap.free"=>1924492}] -[3] memory: [1488543159, {"Mem.total"=>1016044, "Mem.used"=>841420, "Mem.free"=>174624, "Swap.total"=>2064380, "Swap.used"=>139888, "Swap.free"=>1924492}] +[0] memory: [1488543156, {"Mem.total"=>2037988, "Mem.used"=>1890616, "Mem.free"=>147372, "Mem.available"=>1236028, "Mem.buffer"=>92020, "Mem.cache"=>1374616}] +[1] memory: [1488543157, {"Mem.total"=>2037988, "Mem.used"=>1890616, "Mem.free"=>147372, "Mem.available"=>1236028, "Mem.buffer"=>92020, "Mem.cache"=>1374616}] +[2] memory: [1488543158, {"Mem.total"=>2037988, "Mem.used"=>1890616, "Mem.free"=>147372, "Mem.available"=>1236028, "Mem.buffer"=>92020, "Mem.cache"=>1374616}] +[3] memory: [1488543159, {"Mem.total"=>2037988, "Mem.used"=>1890616, "Mem.free"=>147372, "Mem.available"=>1236028, "Mem.buffer"=>92020, "Mem.cache"=>1374616}] ``` ### Configuration File