[SERVER-869] mongod admin command for total allocated file space Created: 17/Apr/09 Updated: 12/Jul/16 Resolved: 17/Apr/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.9.3 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Comments |
| Comment by Aaron Staple [ 17/Apr/09 ] |
|
> db.getMongo().getDBs(); , {"name" : "local" , "sizeOnDisk" : 83886080}, {"name" : "admin" , "sizeOnDisk" : 1}, {"name" : "test" , "sizeOnDisk" : 1}] , "totalSize" : 167772160 , "ok" : 1} |
| Comment by Eliot Horowitz (Inactive) [ 17/Apr/09 ] |
|
ok - just add a totalSize to that. |
| Comment by Aaron Staple [ 17/Apr/09 ] |
|
Do you mean size on disk? We have a disk size per database available from the listDatabases command. Should I just add a total size field to that result? |