[SERVER-3438] Shell should have commas Created: 18/Jul/11 Updated: 29/May/12 Resolved: 18/Jul/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kushal Dave | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Can you reformat the output of stats and explain calls to include commas? If I wanted machine-readable data, I'd be using a driver from some other language or the HTTP endpoint. As a human, I spend a lot of time figuring out where the commas are. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 26/Jul/11 ] |
|
Problem is then its not json... |
| Comment by Kushal Dave [ 18/Jul/11 ] |
|
Sorry, I meant commas IN the numbers, e.g. storageSize: 2304 |
| Comment by Scott Hernandez (Inactive) [ 18/Jul/11 ] |
|
stats and explain return javascript objects which contain commas, and are formatter with indentation: > db.test1.stats() , |