dqtool(1)
π dqtool(1) β the dqtool tool manual page π
okay so bestie, welcome to dqtool(1), which is a whole manual page from The dqtool tool manual page π
β¨ NAME β¨
dqtool β displays the contents of a disk-buffer file that was created with {{ site.product.short_name }}. π
β¨ SYNOPSIS β¨
dqtool [command] [options]
β¨ DESCRIPTION β¨
NOTE: the dqtool application ships with the syslog-ng OSE system logging application, and it's usually part of the syslog-ng OSE package. The latest version of the syslog-ng OSE application lives over on the syslog-ng OSE page. π¦
ngl this manual page is only an abstract, it's giving teaser-trailer energy. π
So like β the dqtool application is a utility you can use to display and format the messages stored inside a disk-buffer file. that's the whole vibe. β¨
π± THE CAT COMMAND π±
cat [options] [file]
Use the cat command to display the log messages stored in the disk-buffer (also called the disk-queue) file, plus info from the header of the disk queue file. The messages get printed to the standard output (stdout), so you can absolutely use grep and other tools to hunt down particular log messages, for example dqtool cat /var/log/messages.lgs |grep 192.168.1.1. obsessed with that, fr fr. π₯
The cat command has the following options:
--debugor-dβ prints diagnostic and debugging messages tostderr.--helpor-hβ shows a brief help message.--template=<template>or-tβ formats the messages using the specified template.--verboseor-vβ prints verbose messages tostderr.--versionor-Vβ displays version information.
πΈ EXAMPLE: πΈ
dqtool cat ../var/syslog-ng-00000.qf
The output looks like:
Disk-buffer state loaded; filename='../var/syslog-ng-00000.qf',
qoutlength='65', qbackloglength='0', qoverflowlength='9205',
qdisklength='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 π
relocate [options] [files]
Use the relocate command to move or rename disk-buffer (aka disk-queue) files. Heads up bestie: this option modifies the persist file. π
STOP syslog-ng OSE before using this command. like literally stop it first, no cap. π
The relocate command has the following options:
--allor-aβ relocates every disk-buffer file that is listed in the syslog-ng OSE persist file.--new_pathor-nβ the directory where you want to move the disk-bufffer files. For example:/var/disk-buffers--persistor-pβ the path to the syslog-ng OSE persist file. Therelocatecommand automatically updates the entries of the disk-buffer files in the persist file.
π EXAMPLES: π
Relocate a single queue file:
dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist /tmp/syslog-ng-00000.rqf
Relocate multiple queue files:
dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist /tmp/syslog-ng-00000.rqf /tmp/syslog-ng-00001.rqf
Relocate every queue file:
dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist --all
π FILES π
/Users/hofi/Develop/Balabit/syslog-ng/build/install/bin/dqtool
NOTE: if you experience any problems or need help with syslog-ng OSE, check out the syslog-ng OSE Administration Guide[1], or visit the syslog-ng OSE mailing list[2]. For news and notifications about syslog-ng OSE, visit the syslog-ng OSE blogs[3]. π«Ά
βοΈ AUTHOR βοΈ
This manual page was generated from the syslog-ng OSE Administration Guide[1], which was written by several contributors to whom we'd like to extend our sincere thanks. absolute icons, every single one of them. π
Β©οΈ COPYRIGHT Β©οΈ
(this section is literally empty in the source, bestie β nothing to report, not a crumb of content π)
π NOTES π
- syslog-ng OSE Administration Guide
β¨https://syslog-ng.github.io/admin-guide/READMEβ© - syslog-ng OSE mailing list
β¨https://lists.balabit.hu/mailman/listinfo/syslog-ngβ© - syslog-ng OSE blogs
β¨https://syslog-ng.com/blog/β©
and that's the whole page, bestie!! β¨ this one's running version 4.10.2, dated 18 December 2025, and it goes out to you with all the love in the world π bye mwah π
π¦ where this page comes from
- alpine 3.24: syslog-ng-doc 4.11.0-r0 Β· GPL-2.0-or-later
- arch rolling: syslog-ng 4.12.0-3 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: syslog-ng 4.11.0-1.fc44 Β· GPL-2.0-or-later
- fedora 44: syslog-ng 4.11.0-1.fc44 Β· GPL-2.0-or-later
- nixpkgs unstable: syslog-ng 4.12.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms