Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
- gcc
- wget
Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
<?php | |
function getReplicationInfo($m) { | |
$db = $m->local; | |
$result = array(); | |
$ol = $db->system->namespaces->findOne(array("name" => 'local.oplog.$main')); | |
if ($ol && array_key_exists('options', $ol)) { | |
$result['logSizeMB'] = $ol['options']['size'] / 1000 / 1000; |