Skip to content

Instantly share code, notes, and snippets.

View oliver-bowman's full-sized avatar
🤔

Ollie Bowman oliver-bowman

🤔
View GitHub Profile
@jamesridgway
jamesridgway / index-status.js
Created May 25, 2017 07:00
Mongo shell script for displaying status of in-progress index builds
var currentOps = db.currentOp();
print("Index Status:");
if(!currentOps.inprog || currentOps.inprog.length < 1) {
print("No operations in progress");
} else {
for(o in currentOps.inprog) {
var op = currentOps.inprog[o];
if(op.msg && op.msg.match(/Index Build/)) {
print(op.opid+' - '+op.msg);
@dnozay
dnozay / _Jenkins+Script+Console.md
Last active June 5, 2024 17:43
jenkins groovy scripts collection.