$ mongo --port 34001
|
MongoDB shell version: 2.6.5
|
connecting to: 127.0.0.1:34001/test
|
replset:SECONDARY> rs.printReplicationInfo()
|
configured oplog size: 192MB
|
log length start to end: 5890secs (1.64hrs)
|
oplog first event time: Thu Oct 09 2014 13:46:58 GMT+1100 (AEDT)
|
oplog last event time: Thu Oct 09 2014 15:25:08 GMT+1100 (AEDT)
|
now: Fri Nov 14 2014 16:32:33 GMT+1100 (AEDT)
|
replset:SECONDARY> db.printSlaveReplicationInfo()
|
source: Joannas-MacBook-Pro.local:34001
|
syncedTo: Thu Oct 09 2014 15:25:08 GMT+1100 (AEDT)
|
0 secs (0 hrs) behind the primary
|
source: Joannas-MacBook-Pro.local:34002
|
syncedTo: Thu Oct 09 2014 15:25:08 GMT+1100 (AEDT)
|
0 secs (0 hrs) behind the primary
|
replset:SECONDARY>
|