sqlite.listdb()

Return a list of all SQLite databases and the sizes of each database. The list is returned as a Lua table where the first index is the name of the database and the second index is the size (in bytes) of the database.

Example
dblist = sqlite.listdb()
for i=1,#dblist do
total_size = total_size + dblist[i][2]

end