priitj / whitedb

WhiteDB memory database
http://whitedb.org/
GNU General Public License v3.0
608 stars 78 forks source link

wgdb ls or is there a way to list all databases in memory? #38

Closed aleksandergabriel closed 6 years ago

aleksandergabriel commented 6 years ago

Pretty much what the title is asking. I was reading through documentation for wgdb tool and and c api and was unable to find anything that would show me all databases in system. Is there such feature?

priitj commented 6 years ago

Hi, I've used the command

ipcs -m

successfully. The key in that listing is the same thing as the "shmname" parameter for the wgdb command, in hexadecimal.