Guest User

Untitled

a guest
Oct 18th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.59 KB | None | 0 0
  1. <?php
  2.  
  3. $serverStatusCommandsHelp = array (
  4.   'host' => 'The hostname of this server
  5. ',
  6.   'version' => 'The version number of this server
  7. ',
  8.   'process' => 'What is the process? (mongod, mongos)
  9. ',
  10.   'uptime' => 'Uptime in seconds
  11. ',
  12.   'uptimeEstimate' => 'Uptime based on MongoDB\'s internal coarse grained timer
  13. ',
  14.   'localTime' => 'The local time at this server (time is in UTC).
  15. ',
  16.   'globalLock.totalTime' => 'The number of microseconds since startup that the global lock was created
  17. ',
  18.   'globalLock.lockTime' => 'The number of microseconds that the global lock has been held since it was created
  19. ',
  20.   'globalLock.ratio' => 'The ratio between lockTime & totalTime
  21. ',
  22.   'globalLock.currentQueue.total' => 'The current number of operations queued waiting for the global lock
  23. ',
  24.   'globalLock.currentQueue.readers' => 'The current number of operations queued waiting on a read lock
  25. ',
  26.   'globalLock.currentQueue.writers' => 'The current number of operations queued waiting for a write lock
  27. ',
  28.   'globalLock.activeClients.total' => 'Total number of active clients connected to this server
  29. ',
  30.   'globalLock.activeClients.readers' => 'The total number of active clients currently performing read operations
  31. ',
  32.   'globalLock.activeClients.writers' => 'The total number of active clients currently performing write operations
  33. ',
  34.   'mem.bits' => 'Is this a 32 or 64 bit architecture?
  35. ',
  36.   'mem.resident' => 'number of megabytes resident. It is typical over time, on a dedicated database server, for this number to approach the amount of physical ram on the box.
  37. ',
  38.   'mem.virtual' => 'virtual megabytes for the mongod process. Generally virtual should be a little larger than mapped, but if virtual is many gigabytes larger, that could indicate a memory leak - with journalling, virtual is twice mapped
  39. ',
  40.   'mem.supported' => 'Whether or not this machine supports extended memory info. If this is false, other values in \'mem\' may not be present
  41. ',
  42.   'mem.mapped' => 'As MongoDB memory maps all the data files, this number is likely similar to your total database(s) size.
  43. ',
  44.   'connections.current' => 'The number of currently active connections to this server
  45. ',
  46.   'connections.available' => 'The number of available connections remaining
  47. ',
  48.   'extra_info.heap_usage_bytes' => 'The number of bytes of heap used by this process. Only available on linux
  49. ',
  50.   'extra_info.page_faults' => 'The number of page faults on this process which required loading from disk. Only available on Linux
  51. ',
  52.   'indexCounters.btree.accesses' => 'The number of times the btree indexes have been accessed
  53. ',
  54.   'indexCounters.btree.hits' => 'The number of times a btree page was in memory
  55. ',
  56.   'indexCounters.btree.misses' => 'The number of times a btree page was not in memory
  57. ',
  58.   'indexCounters.btree.resets' => 'The number of times the index counters have been reset to 0
  59. ',
  60.   'indexCounters.btree.missRatio' => 'The ratio of misses to hits on the btree
  61. ',
  62.   'backgroundFlushing.flushes' => 'The number of times the database has flushed writes to disk
  63. ',
  64.   'backgroundFlushing.total_ms' => 'The total number of ms that the database has spent flushing data to disk
  65. ',
  66.   'backgroundFlushing.average_ms' => 'The average number of ms it takes to perform a single flush
  67. ',
  68.   'backgroundFlushing.last_ms' => 'The number of ms that the last flush took to complete
  69. ',
  70.   'backgroundFlushing.last_finished' => 'The timestamp from when the last flush was completed
  71. ',
  72.   'cursors.totalOpen' => 'The total number of cursors that the server is maintaining for clients
  73. ',
  74.   'cursors.clientCursors_size' => '
  75. ',
  76.   'cursors.timedOut' => 'The number of cursors that have timed out since this server was started
  77. ',
  78.   'network.bytesIn' => 'The total number of bytes sent to this database
  79. ',
  80.   'network.bytesOut' => 'The total number of bytes sent from this database
  81. ',
  82.   'network.numRequests' => 'The total number of requests that have been sent to this database
  83. ',
  84.   'repl.setName' => 'The name of the replica set that this server is a part of
  85. ',
  86.   'repl.ismaster' => 'Whether or not this node is the master of the replica set
  87. ',
  88.   'repl.secondary' => 'Whether or not this node is a secondary of the replica set
  89. ',
  90.   'repl.hosts' => 'The set of hosts in this replica sets
  91. ',
  92.   'opcounters.insert' => 'The total number of inserts performed since this process started
  93. ',
  94.   'opcounters.query' => 'The total number of queries performed since this process started
  95. ',
  96.   'opcounters.update' => 'The total number of updates performed since this process started
  97. ',
  98.   'opcounters.delete' => 'The total number of deletes performed since this process started
  99. ',
  100.   'opcounters.getmore' => 'The total number of times getMore has been called on any cursor since this process started
  101. ',
  102.   'opcounters.command' => 'The total number of other commands performed since this process started
  103. ',
  104.   'asserts.regular' => 'The number of regular asserts raised since this process started
  105. ',
  106.   'asserts.warning' => 'The number of warnings raised since this process started
  107. ',
  108.   'asserts.msg' => 'The number of message asserts. These are internal server errors that have a well defined text string. Stack traces are logged for these
  109. ',
  110.   'asserts.user' => 'The number of user asserts. These are errors that can be generated by a user such as out of disk space or duplicate key
  111. ',
  112.   'asserts.rollovers' => 'The number of times the assert counters have rolled over since this process started
  113. ',
  114.   'writeBacksQueued' => 'Whether or not there are any operations from a mongos that have to be retried
  115. ',
  116.   'dur.commits' => 'The number of commits to the journal that have occured in the last interval
  117. ',
  118.   'dur.journaledMB' => 'MBs of data written to the journal in the last interval
  119. ',
  120.   'dur.writeToDataFilesMB' => 'MBs of data written from journal to data files in the last interval
  121. ',
  122.   'dur.commitsInWriteLock' => 'The number of commits in the last interval which were in a write lock. Commits in a write lock are undesirable
  123. ',
  124.   'dur.earlyCommits' => 'Number of times a commit was requested before the scheduled time
  125. ',
  126.   'dur.timeMs.dt' => 'The time length of the interval over which the dur statswere collected
  127. ',
  128.   'dur.timeMs.prepLogBuffer' => 'The amount of time spent preparing to write to the journal
  129. ',
  130.   'dur.timeMs.writeToJournal' => 'The amount of time spent actually writing to the journal
  131. ',
  132.   'dur.timeMs.writeToDataFiles' => 'The amount of time spent writing to datafiles after journaing
  133. ',
  134.   'dur.timeMs.remapPrivateView' => 'The amount of time spent remapping copy-on-write memory mapped views
  135. ',
  136.   'ok' => 'Whether or not serverStatus returned correctly',
  137. );
Add Comment
Please, Sign In to add comment