mongostat
|
connected to: 127.0.0.1
|
insert query update delete getmore command flushes mapped vsize res faults locked % idx miss % qr|qw ar|aw netIn netOut conn set repl time
|
*0 6 *0 *0 0 3|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 50|0 825b 2k 101 shape SEC 11:54:50
|
*0 16 *0 *0 0 7|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 52|0 1k 4k 101 shape SEC 11:54:51
|
*0 5 *0 *0 0 6|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 51|0 952b 3k 101 shape SEC 11:54:52
|
*0 9 *0 *0 0 8|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 50|0 1k 4k 101 shape SEC 11:54:53
|
*0 15 *0 *0 0 4|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 50|0 1k 5k 101 shape SEC 11:54:54
|
*0 9 *0 *0 0 9|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 52|0 1k 4k 101 shape SEC 11:54:55
|
*0 12 *0 *0 0 5|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 51|0 1k 6k 100 shape SEC 11:54:56
|
*0 15 *0 *0 0 6|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 51|0 1k 4k 100 shape SEC 11:54:57
|
*0 16 *0 *0 0 9|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 51|0 1k 31k 100 shape SEC 11:54:58
|
*0 31 *0 *0 0 6|0 0 18.4g 37.5g 1.87g 0 0 0 0|0 49|0 2k 6k 101 shape SEC 11:54:59
|
|
|
iostat -x 2
|
Linux 3.0.0-1-amd64 (mongo) 09/27/2011 _x86_64_ (4 CPU)
|
|
avg-cpu: %user %nice %system %iowait %steal %idle
|
68.81 0.00 0.21 1.08 0.00 29.90
|
|
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
|
sda 0.20 80.21 10.43 3.28 378.63 357.27 107.37 2.00 145.60 9.84 577.20 2.63 3.60
|
|
avg-cpu: %user %nice %system %iowait %steal %idle
|
100.00 0.00 0.00 0.00 0.00 0.00
|
|
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
|
sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
|
avg-cpu: %user %nice %system %iowait %steal %idle
|
100.00 0.00 0.00 0.00 0.00 0.00
|
|
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
|
sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
|
avg-cpu: %user %nice %system %iowait %steal %idle
|
99.88 0.00 0.12 0.00 0.00 0.00
|
|
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
|
sda 0.00 2.50 0.00 1.50 0.00 16.00 21.33 0.00 0.00 0.00 0.00 0.00 0.00
|
|
avg-cpu: %user %nice %system %iowait %steal %idle
|
100.00 0.00 0.00 0.00 0.00 0.00
|
|
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
|
sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
|
tail /var/log/mongodb/mongodb.log
|
Tue Sep 27 11:56:20 [conn394] query my.tinyurl ntoreturn:1 nscanned:1 nreturned:1 reslen:91 110ms
|
Tue Sep 27 11:56:21 [conn356] query my.tinyurl ntoreturn:1 nscanned:1 nreturned:1 reslen:91 160ms
|
Tue Sep 27 11:56:21 [conn359] query my.tinyurl ntoreturn:1 nscanned:1 nreturned:1 reslen:163 219ms
|
Tue Sep 27 11:56:21 [conn366] query my.tinyurl ntoreturn:1 nscanned:1 nreturned:1 reslen:91 116ms
|
Tue Sep 27 11:56:21 [initandlisten] connection accepted from 10.0.2.1:58460 #452
|
Tue Sep 27 11:56:21 [initandlisten] connection accepted from 10.0.2.1:58461 #453
|
Tue Sep 27 11:56:21 [conn452] end connection 10.0.2.1:58460
|
Tue Sep 27 11:56:21 [conn417] query my.tinyurl ntoreturn:1 nscanned:1 nreturned:1 reslen:91 192ms
|
Tue Sep 27 11:56:22 [conn366] query my.tinyurl ntoreturn:1 nscanned:1 nreturned:1 reslen:91 166ms
|
Tue Sep 27 11:56:22 [conn426] query my.tinyurl ntoreturn:1 nscanned:1 nreturned:1 reslen:91 648ms
|
|