mongotop improvements
Hi. I want to suggest a couple of improvements for mongotop.
- count output in a grid view. Now only time is supported. Could be implemented with a command line flag
- limit the number of rows in a grid view with a command line flag (now 10 is hardcoded)
- pretty print of JSON (by flag)
- rename parameter rowcount to itercount
- date pretty print, something more human-readable than ISO format
- collect more granular stats from the top command. Now we only collect total and locks, * while we can insert, remove, update, etc.
I could implement them if the improvements are considered ok.
1
vote
![](https://secure.gravatar.com/avatar/96bab77d3abb3f7107d08b36bddfedca?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)