1DBMON.SH(8) System Manager's Manual DBMON.SH(8)
2
3
4
6 dbmon.sh - Directory Server script for monitoring database and entry
7 cache usage
8
10 [INCR=num] [SERVID=server_id][BINDDN=binddn] [BINDPW=password]
11 [DBLIST=databases] [INDEXLIST=indexes] [VERBOSE=num] dbmon.sh
12
14 dbmon.sh is a tool used to monitor database and entry cache usage. It
15 is especially useful for database cache and entry/dn cache tuning - how
16 much space is left, is the cache full, how much space on average do I
17 need per entry/dn.
18
20 It doesn't take any command line arguments, so all options must be
21 passed in as environment variables.
22
23 dbmon.sh will loop repeatedly showing the db information until it is
24 killed or Ctrl-C
25
26 All arguments are optional, but you will most likely have to provide
27 BINDPW
28
29
30 INCR - show results every INCR seconds - default is 1 second
31
32 SERVID - Name of the server instance
33
34 BINDDN - DN to use to bind - must have permission to read everything
35 under cn=config - default is cn=Directory Manager
36
37 BINDPW - password for BINDDN - default is secret
38
39 DBLIST - a list of databases you want to check - default is all ; for
40 more than one, delimit with spaces e.g. DBLIST="one two three"
41
42 INDEXLIST - a list of indexes to show for each named database - default
43 is none; specify all for all indexes, or named e.g. INDEXLIST="id2entry
44 entryrdn"
45
46 VERBOSE - output level - 0 == suitable for parsing by a script - 1 ==
47 has column headings - 2 == provides detailed descriptions of the data -
48 default is 0
49
50
52 INCR=1 SERVID=slapd-localhost BINDDN="cn=directory manager"
53 BINDPW="secret" VERBOSE=2 dbmon.sh
54
55
57 dbmon.sh was written by the 389 Project.
58
60 Report bugs to https://pagure.io/389-ds-base/new_issue
61
63 Copyright © 2017 Red Hat, Inc.
64
65
66
67 Mar 20, 2017 DBMON.SH(8)