Skip to content

Adds missing --stream flags to loggen man page #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/app-man-syslog-ng/loggen.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ When `--interval` and `--number` are used together, `loggen` will send messages
The following command generates 100 messages per second for ten minutes, and sends them to port 2010 of the localhost via TCP. Each message is 300 bytes long.

```shell
loggen --size 300 --rate 100 --interval 600 127.0.0.1 2010
loggen --stream --size 300 --rate 100 --interval 600 127.0.0.1 2010
```

The following command is similar to the one above, but uses the UDP protocol.
Expand All @@ -180,7 +180,7 @@ loggen --inet --dgram --size 300 --rate 100 --interval 600 127.0.0.1 2010
Send a single message on TCP6 to the `::1` IPv6 address, port `1061:`

```shell
loggen --ipv6 --number 1 ::1 1061
loggen --stream --ipv6 --number 1 ::1 1061
```

Send a single message on UDP6 to the `::1` IPv6 address, port `1061:`
Expand All @@ -198,7 +198,7 @@ loggen --unix --stream --number 1 </path/to/socket>
Read messages from the standard input (`stdio`) and send them to the localhost:

```shell
loggen 127.0.0.1 1061 --read-file -
loggen 127.0.0.1 1061 --stream --read-file -
```

## Files
Expand Down