Skip to content

Instantly share code, notes, and snippets.

@MiketoString
Created September 14, 2010 19:46
Show Gist options
  • Save MiketoString/579649 to your computer and use it in GitHub Desktop.
Save MiketoString/579649 to your computer and use it in GitHub Desktop.
mongostat
connected to: 127.0.0.1
insert/s query/s update/s delete/s getmore/s command/s flushes/s mapped vsize res faults/s locked % idx miss % q t|r|w conn time
0 0 0 0 0 1 0 53146 56765 6808 3 0 0 23|9|14 330 12:08:07
0 0 0 0 0 3 1 53146 56765 6809 42 0 0 23|9|14 330 12:08:08
0 0 0 0 0 1 0 53146 56765 6808 44 0 0 23|9|14 330 12:08:10
0 0 0 0 0 3 0 53146 56765 6808 3 0 0 23|9|14 330 12:08:11
0 0 0 0 0 3 0 53146 56765 6808 4 0 0 23|9|14 330 12:08:14
0 0 0 0 0 3 0 53146 56765 6809 7 0 0 23|9|14 330 12:08:15
0 0 0 0 0 3 0 53146 56765 6809 5 0 0 23|9|14 330 12:08:17
0 0 0 0 0 2 0 53146 56765 6809 3 0 0 23|9|14 330 12:08:18
0 0 0 0 0 2 0 53146 56765 6809 9 0 0 23|9|14 330 12:08:19
0 0 0 0 0 3 0 53146 56765 6809 6 0 0 23|9|14 330 12:08:21
0 0 0 0 0 1 0 53146 56765 6806 8 0 0 23|9|14 330 12:08:22
0 0 0 0 0 3 0 53146 56765 6807 2 0 0 23|9|14 330 12:08:23
# iostat -x 2
avg-cpu: %user %nice %system %iowait %steal %idle
0.45 0.00 0.05 2.40 0.51 96.60
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda1 0.03 0.52 0.05 0.41 1.35 7.45 19.23 0.00 2.08 0.69 0.03
sdb 0.22 60.55 3.80 36.13 193.43 773.48 24.21 0.65 16.31 1.26 5.04
sdc 0.00 0.00 0.00 0.00 0.00 0.00 23.52 0.00 0.88 0.82 0.00
avg-cpu: %user %nice %system %iowait %steal %idle
0.25 0.00 0.00 48.62 1.25 49.87
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda1 0.00 0.00 1.00 0.00 12.00 0.00 12.00 0.00 4.50 4.50 0.45
sdb 0.00 287.50 8.50 949.00 120.00 9980.00 10.55 146.57 150.51 1.05 100.20
sdc 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
0.23 0.00 0.23 45.35 0.70 53.49
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdb 0.00 467.50 7.00 1265.50 120.00 13808.00 10.95 148.12 117.17 0.79 100.05
sdc 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
0.81 0.00 0.00 52.16 1.08 45.95
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda1 0.00 4.50 0.00 1.00 0.00 44.00 44.00 0.00 0.00 0.00 0.00
sdb 0.00 331.00 8.50 706.50 108.00 7852.00 11.13 147.84 204.49 1.40 100.05
sdc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment