Something like these commands would help:
>db
>db.serverStatus()
>db.getProfilingStatus()
>db.setProfilingLeve(1, 100)
>db.system.profile.stats()
You can manually create the system.profile capped collection if you
wish, then enable it.
http://www.mongodb.org/display/DOCS/Database+Profiler
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mongodb-user/-/VG56SM9IyasJ.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mongodb-user/-/kbDs_v56FloJ.
On Tue, Nov 8, 2011 at 4:53 AM, ZephW <dongw.p...@gmail.com> wrote:
> Scott,
> The logs are captured right after I ran the currentOP command.
>
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mongodb-user/-/orzps45S_mwJ.
Thanks for sharing the workaround.