diff --git a/content/app-man-syslog-ng/loggen.1.md b/content/app-man-syslog-ng/loggen.1.md index dca674a1..c0416439 100644 --- a/content/app-man-syslog-ng/loggen.1.md +++ b/content/app-man-syslog-ng/loggen.1.md @@ -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. @@ -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:` @@ -198,7 +198,7 @@ loggen --unix --stream --number 1 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