informationBody.jade 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. template(name='information')
  2. .setting-content
  3. unless currentUser.isAdmin
  4. | {{_ 'error-notAuthorized'}}
  5. else
  6. .content-title
  7. span
  8. i.fa.fa-info-circle
  9. | {{_ 'info'}}
  10. .content-body
  11. .side-menu
  12. ul
  13. li.active
  14. a.js-setting-menu(data-id="information-display")
  15. i.fa.fa-info-circle
  16. | {{_ 'info'}}
  17. .main-body
  18. +statistics
  19. template(name='statistics')
  20. table
  21. tbody
  22. tr
  23. th WeKan ® {{_ 'info'}}
  24. td {{statistics.version}}
  25. tr
  26. th {{_ 'Meteor_version'}}
  27. td {{statistics.meteor.meteorVersion}}
  28. tr
  29. th {{_ 'Node_version'}}
  30. td {{statistics.process.nodeVersion}}
  31. tr
  32. th {{_ 'MongoDB_version'}}
  33. td {{statistics.mongo.mongoVersion}}
  34. tr
  35. th {{_ 'MongoDB_storage_engine'}}
  36. td {{statistics.mongo.mongoStorageEngine}}
  37. tr
  38. th {{_ 'MongoDB_Oplog_enabled'}}
  39. td {{statistics.mongo.mongoOplogEnabled}}
  40. tr
  41. th {{_ 'OS_Type'}}
  42. td {{statistics.os.type}}
  43. tr
  44. th {{_ 'OS_Platform'}}
  45. td {{statistics.os.platform}}
  46. tr
  47. th {{_ 'OS_Arch'}}
  48. td {{statistics.os.arch}}
  49. tr
  50. th {{_ 'OS_Release'}}
  51. td {{statistics.os.release}}
  52. tr
  53. th {{_ 'OS_Uptime'}}
  54. td {{humanReadableTime statistics.os.uptime}}
  55. tr
  56. th {{_ 'OS_Loadavg'}}
  57. td {{numFormat statistics.os.loadavg.[0]}}, {{numFormat statistics.os.loadavg.[1]}}, {{numFormat statistics.os.loadavg.[2]}}
  58. tr
  59. th {{_ 'OS_Totalmem'}}
  60. td {{fileSize statistics.os.totalmem}}
  61. tr
  62. th {{_ 'OS_Freemem'}}
  63. td {{fileSize statistics.os.freemem}}
  64. tr
  65. th {{_ 'OS_Cpus'}}
  66. td {{statistics.os.cpus.length}}
  67. unless isSandstorm
  68. tr
  69. th {{_ 'Node_heap_total_heap_size'}}
  70. td {{fileSize statistics.nodeHeapStats.totalHeapSize}}
  71. tr
  72. th {{_ 'Node_heap_total_heap_size_executable'}}
  73. td {{fileSize statistics.nodeHeapStats.totalHeapSizeExecutable}}
  74. tr
  75. th {{_ 'Node_heap_total_physical_size'}}
  76. td {{fileSize statistics.nodeHeapStats.totalPhysicalSize}}
  77. tr
  78. th {{_ 'Node_heap_total_available_size'}}
  79. td {{fileSize statistics.nodeHeapStats.totalAvailableSize}}
  80. tr
  81. th {{_ 'Node_heap_used_heap_size'}}
  82. td {{fileSize statistics.nodeHeapStats.usedHeapSize}}
  83. tr
  84. th {{_ 'Node_heap_heap_size_limit'}}
  85. td {{fileSize statistics.nodeHeapStats.heapSizeLimit}}
  86. tr
  87. th {{_ 'Node_heap_malloced_memory'}}
  88. td {{fileSize statistics.nodeHeapStats.mallocedMemory}}
  89. tr
  90. th {{_ 'Node_heap_peak_malloced_memory'}}
  91. td {{fileSize statistics.nodeHeapStats.peakMallocedMemory}}
  92. tr
  93. th {{_ 'Node_heap_does_zap_garbage'}}
  94. td {{statistics.nodeHeapStats.doesZapGarbage}}
  95. tr
  96. th {{_ 'Node_heap_number_of_native_contexts'}}
  97. td {{statistics.nodeHeapStats.numberOfNativeContexts}}
  98. tr
  99. th {{_ 'Node_heap_number_of_detached_contexts'}}
  100. td {{statistics.nodeHeapStats.numberOfDetachedContexts}}
  101. tr
  102. th {{_ 'Node_memory_usage_rss'}}
  103. td {{fileSize statistics.nodeMemoryUsage.rss}}
  104. tr
  105. th {{_ 'Node_memory_usage_heap_total'}}
  106. td {{fileSize statistics.nodeMemoryUsage.heapTotal}}
  107. tr
  108. th {{_ 'Node_memory_usage_heap_used'}}
  109. td {{fileSize statistics.nodeMemoryUsage.heapUsed}}
  110. tr
  111. th {{_ 'Node_memory_usage_external'}}
  112. td {{fileSize statistics.nodeMemoryUsage.external}}
  113. tr
  114. th {{_ 'Mongo_sessions_count'}}
  115. td {{statistics.session.sessionsCount}}