slapdcmd

The slapdcmd command sends orders to the slapd daemon to set the trace level, put the database into, and out of, read only mode (for backup), and get SNMP statistics about the slapd daemon.


Syntax

 
slapdcmd [ -t tracelevel ] [ -f | -n ] [ -s appli | assoc | dsaops |\
dsaentries | dsaint ]
 

The parameters for this command are:

-f  

Put all data stores into read-only mode. This is usually in preparation for making a backup.  

-n  

Put all the data stores back to read-write mode.  

-t tracelevel  

Sets the level of information to be logged into log files. You can request any combination of the following levels:

  • 1 - Trace
  • 2 - Packets
  • 4 - Arguments
  • 8 - Connections
  • 16 - BER
  • 32 - Filters
  • 64 - Configuration
  • 128 - Access control
  • 256 - Statistics (summary level)
  • 512 - Statistics (detailed level)
  • 1024 - Shell
  • 2048 - Parse
  • 65535 - All information
  • To request more than one category of debugging information, add the masks. For example, to request trace and filter information, specify a tracelevel of 33.  

    -s appli | assoc | dsaops \ | dsaentries| dsaint  

    Displays the following SNMP statistics:

  • appli displays the application table
  • assoc displays all the current associations
  • dsaops displays the current count of LDAP operations
  • dsaentries displays the current count of entries and hits in the databases
  • dsaint displays the interactions of this slapd with other ldap servers during replication
  •  




    Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.