path: root/doc
authorSergey Poznyakoff <>2018-06-27 18:42:41 (GMT)
committer Sergey Poznyakoff <>2018-06-27 18:42:41 (GMT)
commitd6fe3b45bc669a6bc3f21e4bda69c6a052d78482 (patch) (side-by-side diff)
treeadee5b085e7108a22b81c00c914a6faf5754f9f6 /doc
parent7598f08063b2d937233fcca98eb046bb4cfa5a70 (diff)
Version 1.16v1.16
Diffstat (limited to 'doc') (more/less context) (ignore whitespace changes)
1 files changed, 44 insertions, 11 deletions
diff --git a/doc/gdbmtool.1 b/doc/gdbmtool.1
index ca927ca..c5d5f9e 100644
--- a/doc/gdbmtool.1
+++ b/doc/gdbmtool.1
@@ -13,19 +13,32 @@
.\" You should have received a copy of the GNU General Public License
.\" along with GDBM. If not, see <>. */
-.TH GDBMTOOL 1 "July 12, 2016" "GDBM" "GDBM User Reference"
+.TH GDBMTOOL 1 "June 27, 2018" "GDBM" "GDBM User Reference"
gdbmtool \- examine and modify a GDBM database
-\fBgdbmtool\fR [\fB\-lmNnqrs\fR] [\fB\-b\fR \fISIZE\fR] [\fB\-c\fR \fISIZE\fR]\
- [\fB\-f\fR \fIFILE\fR] [\fB\-\-block\-size\fR=\fISIZE\fR]
- [\fB\-\-cache\-size\fR=\fISIZE\fR] [\fB\-\-file\fR \fIFILE\fR]\
- [\fB\-\-newdb\fR] [\fB\-\-no\-lock\fR]
- [\fB\-\-no\-mmap\fR] [\fB\-\-norc\fR]
- [\fB\-\-quiet\fR] [\fB\-\-read\-only\fR] [\fB\-\-synchronize\fR]\
- [\fIDBFILE\fR]
+ [\fB\-lmNnqrs\fR]\
+ [\fB\-b\fR \fISIZE\fR]\
+ [\fB\-c\fR \fISIZE\fR]\
+ [\fB\-f\fR \fIFILE\fR]\
+ [\fB\-\-block\-size\fR=\fISIZE\fR]\
+ [\fB\-\-cache\-size\fR=\fISIZE\fR]\
+ [\fB\-\-file\fR \fIFILE\fR]\
+ [\fB\-\-newdb\fR]\
+ [\fB\-\-no\-lock\fR]\
+ [\fB\-\-no\-mmap\fR]\
+ [\fB\-\-norc\fR]\
+ [\fB\-\-quiet\fR]\
+ [\fB\-\-read\-only\fR]\
+ [\fB\-\-synchronize\fR]\
+ [\fIDBFILE\fR] [\fICOMMAND\fR [; \fICOMMAND\fR...]]
-\fBgdbmtool\fR [\fB\-Vh\fR] ][\fB\-\-help\fR] [\fB\-\-usage\fR] [\fB\-\-version\fR]
+ [\fB\-Vh\fR]\
+ [\fB\-\-help\fR]\
+ [\fB\-\-usage\fR]\
+ [\fB\-\-version\fR]
.B gdbmtool
@@ -61,6 +74,14 @@ The program terminates when the
.B quit
command is given, or end-of-file is detected on its standard input.
+Commands can also be specified in the command line, after the \fIDBFILE\fR
+argument. In this case, they will be interpreted without attempting to
+read more commands from the standard input.
+If several commands are supplied, they must be separated by
+semicolons (properly escaped or quoted, in order to prevent them from
+being interpreted by the shell).
.B gdbmtool
command consists of a command verb, optionally
@@ -425,12 +446,24 @@ Open the database in read-only mode. Signal an error if it does not
+.BR filemode ", octal"
+Sets the file mode for newly created database files. Default is 0644.
.BR lock ", boolean"
Lock the database. This is the default.
.BR mmap ", boolean"
Use memory mapping. This is the default.
+.BR coalesce ", boolean"
+When set, this option causes adjacent free blocks to be merged which
+allows for more efficient memory management at the expense of a
+certain increase in CPU usage.
+.BR centfree ", boolean"
+Enables central free block pool. This causes all free blocks of space
+to be placed in the global pool, thereby speeding up the allocation of
+data space.
.BR gdbm_dump (1),
.BR gdbm_load (1),
@@ -438,7 +471,7 @@ Use memory mapping. This is the default.
Report bugs to <bug\>.
-Copyright \(co 2013 Free Software Foundation, Inc
+Copyright \(co 2013-2018 Free Software Foundation, Inc
License GPLv3+: GNU GPL version 3 or later <>

Return to:

Send suggestions and report system problems to the System administrator.