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
Fixed typos, sorted config table, moved a config option from metrics table. Fixes#2233 (#2234)
* Added PID to vale styles. Part of #2233.
Signed-off-by: Eric D. Schabell <[email protected]>
* Fixed typos, sorted config table, moved a config option from metrics table. Fixes#2233.
Signed-off-by: Eric D. Schabell <[email protected]>
* Fixed review request gramatical.
Signed-off-by: Eric D. Schabell <[email protected]>
---------
Signed-off-by: Eric D. Schabell <[email protected]>
|`cpu_p`| CPU usage of the overall system, this value is the summation of time spent on user and kernel space. The result takes in consideration the numbers of CPU cores in the system. |
12
-
|`user_p`| CPU usage in User mode, for short it means the CPU usage by user space programs. The result of this value takes in consideration the numbers of CPU cores in the system. |
13
12
|`system_p`| CPU usage in Kernel mode, for short it means the CPU usage by the Kernel. The result of this value takes in consideration the numbers of CPU cores in the system. |
14
-
|`threaded`| Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). Default: `false`. |
13
+
|`user_p`| CPU usage in User mode, for short it means the CPU usage by user space programs. The result of this value takes in consideration the numbers of CPU cores in the system.|
15
14
16
15
In addition to the keys reported in the previous table, a similar content is created per CPU core. The cores are listed from `0` to `N` as the Kernel reports:
|`Interval_Sec`| Polling interval in seconds. |`1`|
31
-
| `Interval_NSec | Polling interval in nanoseconds` |`0`|
32
-
|`PID`| Specify the `ID` (`PID`) of a running process in the system. By default, the plugin monitors the whole system but if this option is set, it will only monitor the given process ID. |_none_|
|`interval_nsec`| Polling interval in nanoseconds. |`0`|
30
+
|`interval_sec`| Polling interval in seconds. |`1`|
31
+
|`pid`| Specify the process ID (PID) of a running process in the system. By default, the plugin monitors the whole system but if this option is set, it will only monitor the given process ID. |_none_|
32
+
|`threaded`| Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). |`false`|
33
33
34
34
## Get started
35
35
36
-
In order to get the statistics of the CPU usage of your system, you can run the plugin from the command line or through the configuration file:
36
+
To get the statistics of the CPU usage of your system, you can run the plugin from the command line or through the configuration file:
37
37
38
38
### Command line
39
39
40
-
You can run this filter from the command line using a command like the following:
40
+
You can run this input plugin from the command line using a command like the following:
41
41
42
42
```shell
43
43
build/bin/fluent-bit -i cpu -t my_cpu -o stdout -m '*'
0 commit comments