mongo-monitor
mongo-monitor copied to clipboard
can you add more information to output ?
like that Shard: shard1
SECONDARY : 172.19.9.11:27001 vsize:9.85G res:8.43G net_in:159b net_out:64.8k conn:18
PRIMARY : 172.19.9.12:27001 vsize:9.85G res:8.43G net_in:140b net_out:64.8k conn:18
SECONDARY : 172.19.9.13:27001 vsize:9.85G res:8.43G net_in:119b net_out:64.8k conn:18
I can take a look, although I'm not sure whether that data is available. Where are you getting it from at the moment?
run mongostat -h 127.0.0.1:27017 --discover -n 30 3 you can see it:
host insert query update delete getmore command dirty used flushes mapped vsize res faults qrw arw net_in net_out conn set repl time
10.12.7.165:27001 *0 *0 *0 *0 0 2|0 0.0% 76.0% 0 9.85G 8.43G n/a 0|0 1|0 159b 64.8k 18 shard1 SEC Dec 4 01:46:39.752
10.12.7.165:27002 *0 *0 *0 *0 0 4|0 0.7% 50.8% 0 9.52G 7.91G n/a 0|0 1|0 708b 66.4k 18 shard2 SEC Dec 4 01:46:39.755
10.12.7.165:27003 *0 *0 *0 *0 0 2|0 0.1% 75.2% 0 9.48G 8.09G n/a 0|0 1|0 421b 64.7k 18 shard3 SEC Dec 4 01:46:39.758
10.12.7.194:27001 *0 *0 *0 *0 2 7|0 0.1% 80.0% 0 10.5G 8.76G n/a 0|0 1|0 4.25k 69.0k 34 shard1 PRI Dec 4 01:46:39.760
10.12.7.194:27002 *0 *0 *0 *0 0 5|0 0.2% 79.9% 0 10.2G 8.51G n/a 0|0 1|0 966b 66.6k 31 shard2 PRI Dec 4 01:46:39.760
10.12.7.194:27003 *0 *0 *0 *0 0 3|0 0.0% 79.1% 0 10.0G 8.40G n/a 0|0 1|0 427b 65.7k 28 shard3 PRI Dec 4 01:46:39.754
10.12.7.78:27001 *0 *0 *0 *0 2 6|0 0.1% 74.4% 0 9.94G 8.54G n/a 0|0 1|0 2.98k 68.7k 20 shard1 SEC Dec 4 01:46:39.759
10.12.7.78:27002 *0 *0 *0 *0 0 4|0 0.3% 54.8% 0 7.60G 5.95G n/a 0|0 1|0 705b 66.0k 20 shard2 SEC Dec 4 01:46:39.759
10.12.7.78:27003 *0 *0 *0 *0 0 3|0 0.0% 77.4% 0 9.25G 7.72G n/a 0|0 1|0 427b 65.6k 20 shard3 SEC Dec 4 01:46:39.754
localhost:27017 708 *0 *0 *0 0 8|0 0 0B 468M 172M 0 0|0 0|0 1.00m 21.8k 67 RTR Dec 4 01:46:40.738