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 55If ruby binary is executed with non-root user, linux capability
66must be enabled for cpufreq collector.
77
8- ``` sh
8+ ``` console
99$ sudo setcap cap_dac_read_search=+eip PATH_TO_RUBY
1010```
1111
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 ` .
1313
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
1523$ sudo /opt/td-agent/bin/fluent-cap-ctl --add dac_read_search -f /opt/td-agent/bin/ruby
1624Updating dac_read_search done.
1725Adding dac_read_search done.
You can’t perform that action at this time.
0 commit comments