Administrative Commands

The following table lists the administrative commands:

No. Command Description
1. connect [<dburl> [<username> [<password>]]] Make connection to Graph DB server.
2. disconnect Disconnect from the Graph DB server.
3. info Displays live server information like:
  • server version, up time
  • number of connection on each listener
  • server memory information
  • server transaction information
  • server cache information
  • server database information
4. stop server Stops the Graph DB.
5. show connections Lists the connections in the Graph DB server. Shows the users currently connected, how long the users have been connected, and the session ID of the users.
6. kill connection Kills a client session, based on session ID, on the Graph DB server.
7. create user <username> passwd=<password> Create a new user in the Graph DB. You can then connect to the DB, with the created user, using the client API.
8. show users List all the users defined in the DB. All the listed users can access the DB.
9. set server loglevel <level> Sets the server loglevel to one of the following levels:
  • info
  • user1
  • user2
  • user3
  • debug
  • debugmemory
  • debugwire
10. set loglevel <level> Sets the admin loglevel to one of the following levels:
  • info
  • user1
  • user2
  • user3
  • debug
  • debugmemory
  • debugwire
11. exit Exit from admin.