Last Updated: February 25, 2016
·
533
· aaronott

Getting repl_lag from mongo commandline

I created a command that will allow rs.repl_lag() to be called from the mongodb commandline.

More info at:
http://a.aronott.com/MongoDB%20Tools/getting-the-repl_lag-from-your-mongodb-replication-set/