use /var/soft/mongodb2.2/bin/mongostat--port Port number
can be monitored in real time
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/7C/wKiom1Y6CfPBRECHAAJPMpDayMg247.jpg "title=" 1.png " alt= "Wkiom1y6cfpbrechaajpmpdaymg247.jpg"/>
· inserts/s number of insertions per second
· query/s number of queries per second
· update/s Number of updates per second
· delete/s number of deletions per second
· getmore/s executes per second Getmore number of
· command/s the number of commands per second, more than the integration of INSERT, find, UPDATE, delete, also counted the other commands
· flushs/s executes per second Fsync the number of times the data was written to the hard disk.
· mapped/s All are mmap MB ,
· vsize amount of virtual memory used, Unit MB
· Res amount of physical memory used, Unit MB
·faults/snumber of Access failures per second (onlyLinuxdata is swapped out for physical memory and placed inSwap. Do not exceed -, otherwise the machine memory is too small, causing frequentSwapwrite. To upgrade the memory or expand it at this time
· Locked% the percentage of time that is locked, try to control the 50% below it
· idx Miss% the percentage of index misses. If it's too high, consider whether the index is less.
·Q t|r|wwhenMongodbtoo many commands are received and the database is locked and cannot be completed, it will join the command queue. This column shows the total, read, write3the length of each queue is0words indicateMONGOno pressure. When high concurrency occurs, the general queue value is raised.
· Conn Current number of connections
· Time time Stamp
these states we can basically not look at Conn, generally do not change, because the connection pool is connected to the number of connections are fixed. Basically look at the QR|QW,Ar|aw if always 0 indicates very healthy, if dozens of then that means MONGO processing is very slow, there may be slow query, lock table queue and other phenomena.
This article is from the "Zhangdh Open Space" blog, so be sure to keep this source http://linuxblind.blog.51cto.com/7616603/1709793
MongoDB Performance Monitoring