Skip to content

Commit 968ab78

Browse files
authored
docs: update Prerequisite of cpufreq for fluent-package (#14)
Signed-off-by: Daijiro Fukuda <[email protected]>
1 parent a8830e9 commit 968ab78

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/cpufreq.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,21 @@
55
If ruby binary is executed with non-root user, linux capability
66
must 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
1624
Updating dac_read_search done.
1725
Adding dac_read_search done.

0 commit comments

Comments
 (0)