You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/inputs/memory-metrics.md
+19-8Lines changed: 19 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,22 @@
1
-
# Memory Metrics
1
+
# Memory metrics
2
2
3
-
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.
3
+
The _Memory_ (`mem`) input plugin gathers 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.
4
4
5
-
## Getting Started
5
+
## Get started
6
6
7
-
In order to get memory and swap usage from your system, you can run the plugin from the command line or through the configuration file:
7
+
To get memory and swap usage from your system, you can run the plugin from the command line or through the configuration file:
8
8
9
-
### Command Line
9
+
### Command line
10
+
11
+
Run the following command from the command line:
10
12
11
13
```bash
12
-
$ fluent-bit -i mem -t memory -o stdout -m '*'
14
+
fluent-bit -i mem -t memory -o stdout -m '*'
15
+
```
16
+
17
+
Which outputs information similar to:
18
+
19
+
```text
13
20
Fluent Bit v1.x.x
14
21
* Copyright (C) 2019-2020 The Fluent Bit Authors
15
22
* Copyright (C) 2015-2018 Treasure Data
@@ -28,12 +35,13 @@ Fluent Bit v1.x.x
28
35
You can enable the `threaded` setting to run this input in its own
0 commit comments