File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 5
5
If ruby binary is executed with non-root user, linux capability
6
6
must be enabled for cpufreq collector.
7
7
8
- ``` sh
8
+ ``` console
9
9
$ sudo setcap cap_dac_read_search=+eip PATH_TO_RUBY
10
10
```
11
11
12
- If you already installed td-agent , you can use ` fluent-cap-ctl ` .
12
+ If you already installed fluent-package , you can use ` fluent-cap-ctl ` .
13
13
14
- ``` sh
14
+ ``` console
15
+ $ sudo /opt/fluent/bin/fluent-cap-ctl --add dac_read_search -f /opt/fluent/bin/ruby
16
+ Updating dac_read_search done.
17
+ Adding dac_read_search done.
18
+ ```
19
+
20
+ td-agent (EOL):
21
+
22
+ ``` console
15
23
$ sudo /opt/td-agent/bin/fluent-cap-ctl --add dac_read_search -f /opt/td-agent/bin/ruby
16
24
Updating dac_read_search done.
17
25
Adding dac_read_search done.
You can’t perform that action at this time.
0 commit comments