'\" t .\" Title: dqtool .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 12/25/2018 .\" Manual: The dqtool tool manual page .\" Source: 3.19 .\" Language: English .\" .TH "DQTOOL" "1" "12/25/2018" "3\&.19" "The dqtool tool manual page" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" dqtool \- Display the contents of a disk\-buffer file created with .SH "SYNOPSIS" .HP \w'\fBdqtool\fR\ 'u \fBdqtool\fR [command] [options] .SH "DESCRIPTION" .PP NOTE: The dqtool application is distributed with the system logging application, and is usually part of the syslog\-ng package\&. The latest version of the syslog\-ng application is available at the \m[blue]\fBofficial syslog\-ng website\fR\m[]\&\s-2\u[1]\d\s+2\&. .PP This manual page is only an abstract, for the complete documentation of syslog\-ng, see \m[blue]\fBThe Administrator Guide\fR\m[]\&\s-2\u[2]\d\s+2\&. .PP The \fBdqtool\fR application is a utility that can be used to display and format the messages stored in a disk\-buffer file\&. .SH "THE CAT COMMAND" .HP \w'\fBcat\fR\ 'u \fBcat\fR [options] [file] .PP Use the \fBcat\fR command to display the log messages stored in the disk\-buffer (also called disk\-queue) file, and also information from the header of the disk queue file\&. The messages are printed to the standard output (stdout), so it is possible to use grep and other tools to find particular log messages, e\&.g\&., \fBdqtool cat /var/log/messages\&.lgs |grep 192\&.168\&.1\&.1\fR\&. .PP The \fBcat\fR command has the following options: .PP \fB\-\-debug\fR or \fB\-d\fR .RS 4 Print diagnostic and debugging messages to stderr\&. .RE .PP \fB\-\-help\fR or \fB\-h\fR .RS 4 Display a brief help message\&. .RE .PP \fB\-\-template=