Skip to content

Commit

Permalink
dqtool typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Fekete authored and Robert Fekete committed Feb 29, 2024
1 parent b32e552 commit e0f79ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Add the `dir()` option and set the disk-buffer file's destination directory to t
- Checking the status of the disk-buffer file.
```shell
/opt/syslog-ng/bin/dqtooldqtool info /tmp/qdisk/syslog-ng-00000.rqf
/opt/syslog-ng/bin/dqtool info /tmp/qdisk/syslog-ng-00000.rqf
```
An empty disk-buffer file will look similar to this:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This section describes getting the status information of the disk-buffer files u
The basic command syntax for getting the status information of the disk-buffer files used in {{% param "product.abbrev" %}} looks like the following:

```shell
/opt/syslog-ng/bin/dqtooldqtoolinfo DISK-BUFFER_FILE
/opt/syslog-ng/bin/dqtool info DISK-BUFFER_FILE
```


Expand All @@ -29,14 +29,14 @@ The following example commands describe how you can get the status information o
- Empty, normal disk-buffer file

```shell
/opt/syslog-ng/bin/dqtooldqtool info /opt/syslog-ng/var/syslog-ng-00000.qf/var/lib/syslog-ng/syslog-ng-00000.qfDisk-buffer state loaded; filename='/opt/syslog-ng/var/syslog-ng-00000.qf/var/lib/syslog-ng/syslog-ng-00000.qf', number_of_messages='0'
/opt/syslog-ng/bin/dqtool info /opt/syslog-ng/var/syslog-ng-00000.qf/var/lib/syslog-ng/syslog-ng-00000.qfDisk-buffer state loaded; filename='/opt/syslog-ng/var/syslog-ng-00000.qf/var/lib/syslog-ng/syslog-ng-00000.qf', number_of_messages='0'

```

- Non-empty, reliable disk-buffer queue file

```shell
/opt/syslog-ng/bin/dqtooldqtool info /opt/syslog-ng/var/syslog-ng-00000.rqfReliable disk-buffer state loaded; filename='/opt/syslog-ng/var/syslog-ng-00000.rqf', number_of_messages='10'
/opt/syslog-ng/bin/dqtool info /opt/syslog-ng/var/syslog-ng-00000.rqfReliable disk-buffer state loaded; filename='/opt/syslog-ng/var/syslog-ng-00000.rqf', number_of_messages='10'
```

Expand All @@ -48,6 +48,6 @@ The following example commands describe how you can get the status information o
You can use the following one-liner command to get the state of disk-buffer files in the default directory:

```shell
for qfile in /opt/syslog-ng/var/*.?(r)qf ; do /opt/syslog-ng/bin/dqtooldqtool info $qfile 2>&1 ; done
for qfile in /opt/syslog-ng/var/*.?(r)qf ; do /opt/syslog-ng/bin/dqtool info $qfile 2>&1 ; done
```

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This section describes printing the content of the disk-buffer files used in {{%
The command syntax for printing the content of the disk-buffer files used in {{% param "product.abbrev" %}} looks like the following:

```shell
/opt/syslog-ng/bin/dqtooldqtool cat DISK-BUFFER_FILE
/opt/syslog-ng/bin/dqtool cat DISK-BUFFER_FILE
```


Expand All @@ -27,7 +27,7 @@ The command syntax for printing the content of the disk-buffer files used in {{%
The following short output example shows the printed content of the disk-buffer files used in {{% param "product.abbrev" %}}:

```shell
/opt/syslog-ng/bin/dqtooldqtool cat /opt/syslog-ng/var/syslog-ng-00000.rqf
/opt/syslog-ng/bin/dqtool cat /opt/syslog-ng/var/syslog-ng-00000.rqf

Reliable disk-buffer state loaded; filename='/opt/syslog-ng/var/syslog-ng-00000.rqf', queue_length='2952', size='-437712'
Jul 31 12:33:48.226 10.21.10.10 <382019-07-31T12:33:36 localhost prg00000[1234]: seq: 0000000838, thread: 0000, runid: 1564569216, stamp: 2019-07-31T12:33:36 PADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADD
Expand Down

0 comments on commit e0f79ce

Please sign in to comment.