-
Notifications
You must be signed in to change notification settings - Fork 12
Man Pages editing #242
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
zsoltgyulai94
wants to merge
3
commits into
syslog-ng:master
Choose a base branch
from
zsoltgyulai94:doc-align-man-pages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Man Pages editing #242
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,18 +15,18 @@ description: >- | |
{{ site.product.short_name }}. | ||
--- | ||
|
||
## Synopsis | ||
## SYNOPSIS | ||
|
||
dqtool \[command\] \[options\] | ||
dqtool [command] [options] | ||
|
||
## Description | ||
## DESCRIPTION | ||
|
||
{% include doc/admin-guide/manpages-intro.md %} | ||
|
||
The dqtool application is a utility that can be used to display and | ||
format the messages stored in a disk-buffer file. | ||
|
||
## The cat command | ||
## THE CAT COMMAND | ||
|
||
```bash | ||
cat [options] [file] | ||
|
@@ -41,40 +41,41 @@ particular log messages, for example, **dqtool cat /var/log/messages.lgs | |
|
||
The cat command has the following options: | ||
|
||
- \--debug or -d | ||
`--debug` or `-d` | ||
|
||
Print diagnostic and debugging messages to stderr. | ||
|
||
- \--help or -h | ||
`--help` or `-h` | ||
|
||
Display a brief help message. | ||
|
||
- \--template=\<template\> or -t | ||
`--template=<template>` or `-t` | ||
|
||
Format the messages using the specified template. | ||
|
||
- \--verbose or -v | ||
`--verbose` or `-v` | ||
|
||
Print verbose messages to stderr. | ||
|
||
- \--version or -V | ||
`--version` or `-V` | ||
|
||
Display version information. | ||
|
||
### Example: The cat command | ||
### EXAMPLE: | ||
|
||
```bash | ||
./dqtool cat ../var/syslog-ng-00000.qf | ||
``` | ||
|
||
The output looks like: | ||
|
||
```config | ||
>Disk-buffer state loaded; | ||
>filename='../var/syslog-ng-00000.qf', qout_length='65', qbacklog_length='0', qoverflow_length='9205', qdisk_length='0' | ||
>Mar 3 10:52:05 tristram localprg[1234]: seq: 0000011630, runid: 1267609923, stamp: 2010-03-03T10:52:05 PADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADD | ||
>Mar 3 10:52:05 tristram localprg[1234]: seq: 0000011631, runid: 1267609923, stamp: 2010-03-03T10:52:05 PADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADD | ||
``` | ||
|
||
## The relocate command | ||
## THE RELOCATE COMMAND | ||
|
||
```config | ||
relocate [options] [files] | ||
|
@@ -86,23 +87,23 @@ disk-queue) files. Note that this option modifies the persist file. Stop | |
|
||
The relocate command has the following options: | ||
|
||
- \--all or -a | ||
`--all` or `-a` | ||
|
||
Relocate every disk-buffer file that is listed in the {{ site.product.short_name }} | ||
persist file. | ||
|
||
- \--new\_path or -n | ||
`--new_path` or `-n` | ||
|
||
The directory where you want to move the disk-bufffer files. For | ||
example: /var/disk-buffers | ||
|
||
- \--persist or -p | ||
`--persist` or `-p` | ||
|
||
The path to the {{ site.product.short_name }} persist file. The relocate command | ||
automatically updates the entries of the disk-buffer files in the | ||
persist file. | ||
|
||
### Examples | ||
### EXAMPLES: | ||
|
||
Relocate a single queue file: | ||
|
||
|
@@ -122,8 +123,8 @@ Relocate every queue file: | |
bin/dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist --all | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please use the full path everywhere |
||
``` | ||
|
||
## Files | ||
## FILES | ||
|
||
dqtool | ||
/opt/syslog-ng/bin/dqtool | ||
|
||
{% include doc/admin-guide/manpages-footnote.md %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use the full path everywhere
/opt/syslog-ng/bin/dqtool
etc.
page generation will take care of the correct installation path replacement based on the "template" /opt/syslog-ng/ value