OPTIONS
翻译或纠错本页面

db.killOp()

介绍

db.killOp(opid)

骑过指定进程ID终止一个进程。查找正在进行的操作和它们的进程ID,参见 see db.currentOp()

The db.killOp() method has the following parameter:

Parameter Type

介绍

opid number An operation ID.

警告

终止操作时请尽量小心。只能使用 db.killOp() 方法终止客户端发起的操作, 千万不要 用它终止数据库内部的操作。

ON THIS PAGE