1DPMGR(1) Quick Database Manager DPMGR(1)
2
3
4
6 dpmgr - administration utility for QDBM Depot
7
9 dpmgr create [-s] [-bnum num] name
10 dpmgr put [-kx|-ki] [-vx|-vi|-vf] [-keep|-cat] [-na] name key val
11 dpmgr out [-kx|-ki] name key
12 dpmgr get [-nl] [-kx|-ki] [-start num] [-max num] [-ox] [-n] name key
13 dpmgr list [-nl] [-k|-v] [-ox] name
14 dpmgr optimize [-bnum num] [-na] name
15 dpmgr inform [-nl] name
16 dpmgr remove name
17 dpmgr repair name
18 dpmgr exportdb name file
19 dpmgr importdb name file
20 dpmgr snaffle [-kx|-ki] [-ox] [-n] name key
21 dpmgr version
22
24 This manual page documents briefly the dpmgr commands.
25
26 dpmgr is a utility for debugging Depot and its applications. It fea‐
27 tures editing and checking of a database. It can be used for database
28 applications with shell scripts. This command is used in the above for‐
29 mat. name specifies a database name. key specifies the key of a
30 record. val specifies the value of a record.
31
33 A summary of options is included below. For a complete description,
34 see the file:///usr/share/doc/qdbm-doc/spex.html#depotcli.
35
36 -s make the file sparse.
37
38 -bnum num
39 specify the number of the elements of the bucket array.
40
41 -kx treat key as a binary expression of hexadecimal notation.
42
43 -ki treat key as an integer expression of decimal notation.
44
45 -vx treat val as a binary expression of hexadecimal notation.
46
47 -vi treat val as an integer expression of decimal notation.
48
49 -vf read the value from a file specified with val.
50
51 -keep specify the storing mode for `DP_DKEEP'.
52
53 -cat specify the storing mode for `DP_DCAT'.
54
55 -na do not set alignment.
56
57 -nl open the database without file locking.
58
59 -start specify the beginning offset of a value to fetch.
60
61 -max specify the max size of a value to fetch.
62
63 -ox treat the output as a binary expression of hexadecimal notation.
64
65 -n do not output the tailing newline.
66
67 -k output keys only.
68
69 -v output values only.
70
72 qdbm(3), dptsv(1), dpopen(3).
73
75 QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.
76
77 This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for
78 the Debian project (but may be used by others).
79
80
81
82Man Page 2005-05-23 DPMGR(1)