Skip to content

Commit

Permalink
Fix description about PID_OR_SVCNAME argument
Browse files Browse the repository at this point in the history
See also: fluent/fluentd#3680

Signed-off-by: Daijiro Fukuda <[email protected]>
  • Loading branch information
daipom committed Jun 29, 2022
1 parent 1e99dc7 commit dc0ddcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deployment/command-line-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Options:
Control `fluentd` process using [Signals](signals.md) or Windows Event.

```text
Usage: fluent-ctl COMMAND PID_OR_SVCNAME
Usage: fluent-ctl COMMAND [PID_OR_SVCNAME]
Commands:
shutdown
Expand All @@ -179,10 +179,10 @@ You can specify the process id of the supervisor process.
fluent-ctl shutdown 11111
```

If you run Fluentd as a Windows service, then you have to specify the svcname (the name of the Windows service).
If you run Fluentd as a Windows service, then you can omit `PID_OR_SVCNAME` when the service name is the default value `fluentdwinsvc`.

```text
fluent-ctl dump fluentdwinsvc
fluent-ctl dump
```

### About `dump`
Expand All @@ -196,7 +196,7 @@ Since this uses [SIGDUMP](https://github.com/frsyuki/sigdump), you can change th
```Powershell
$ $env:SIGDUMP_PATH="/sigdump/sigdump.log" # The directory `sidgump` has to exist.
$ fuentd -c ...
$ fluent-ctl dump {PID_OR_SVCNAME} # At another shell.
$ fluent-ctl dump # At another shell.
```

Then Fluentd dumps files as following. Each process id is automatically added to the path.
Expand Down

0 comments on commit dc0ddcf

Please sign in to comment.