[DOCS-162] Document currentOp Created: 14/Mar/12  Updated: 13/Nov/23  Resolved: 28/Aug/12

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: mongodb-2.2, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Minor - P4
Reporter: Sam Kleinman (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by DOCS-395 Document missing fields from inactive... Closed
Related
Participants:
Days since reply: 11 years, 25 weeks, 1 day ago

 Comments   
Comment by auto [ 28/Aug/12 ]

Author:

{u'date': u'2012-08-28T07:25:48-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-162 additions from ticket comments
Branch: master
https://github.com/mongodb/docs/commit/6a020b6e1d0224bfc5ab0c29f6274576e4cf7607

Comment by auto [ 28/Aug/12 ]

Author:

{u'date': u'2012-08-28T07:21:12-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-162 & DOCS-209 current op output
Branch: master
https://github.com/mongodb/docs/commit/8327ee12335f8590d80b7056ed3188711e09b99c

Comment by auto [ 28/Aug/12 ]

Author:

{u'date': u'2012-08-28T06:47:07-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: merge: DOCS-162 edits
Branch: master
https://github.com/mongodb/docs/commit/fd977146d611dcf84beb13da334539c3bde6d115

Comment by auto [ 27/Aug/12 ]

Author:

{u'date': u'2012-08-27T15:48:39-07:00', u'name': u'Bob Grabar', u'email': u'bob.grabar@10gen.com'}

Message: DOCS-162: minor edits
Branch: master
https://github.com/mongodb/docs/commit/32482fca2cfcf30c369d132ba29d8cf1f76fc302

Comment by auto [ 27/Aug/12 ]

Author:

{u'date': u'2012-08-27T15:05:51-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: merge: DOCS-162 edits v1
Branch: master
https://github.com/mongodb/docs/commit/84e1eb0751ed23408725989740ed2ca7f4a5ecdd

Comment by auto [ 27/Aug/12 ]

Author:

{u'date': u'2012-08-27T13:16:25-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-162 first draft of current op docs
Branch: master
https://github.com/mongodb/docs/commit/061e247d116d91a32b2b58e12bb1407f9d961e29

Comment by Daniel Pasette (Inactive) [ 23/Aug/12 ]

Need to include the lockStats and locks section as well:

> db.currentOp()
{
	"inprog" : [
		{
			"opid" : 122037,
			"active" : true,
			"secs_running" : 0,
			"op" : "insert",
			"ns" : "foo.bar",
			"query" : {
				
			},
			"client" : "127.0.0.1:56476",
			"desc" : "conn2",
			"threadId" : "0x7fe4ec373700",
			"connectionId" : 2,
			"locks" : {
				"^" : "w",
				"^foo" : "W"
			},
			"waitingForLock" : false,
			"numYields" : 0,
			"lockStats" : {
				"timeLockedMicros" : {
					
				},
				"timeAcquiringMicros" : {
					"r" : NumberLong(0),
					"w" : NumberLong(2)
				}
			}
		}
	]
}

Comment by Sam Kleinman (Inactive) [ 14/Aug/12 ]

Just as a note, I'm pretty sure that current op changes a little in 2.2, so make sure that the docs reflect the latest output.

Generated at Thu Feb 08 07:38:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.