Finding Storage use of the active databases

In MongoDB, how to find the storage use of the active databases?

In the mongo shell, to find the storage use of the active databases, we can call the method:
db.stats()