I am working on online course ware website which is similar to open edx.
Course ware data is stored in mongo database, I want to find out amount of disk space taken by each course.
The database is edxapp which contains following collections: 1. modulestore 2. fs.files 3. fs.chunks
Use:
edxapp
db.modulestore.find( { "_id.category" : "course" }, {'name':'1'} )
Take a look at this page, in the section Mongo: https://github.com/edx/edx-platform/wiki/Shell-commands