Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

192 lines
8.3 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. w3ctrs.h
  7. Offset definitions for the W3 Server's Site counter object & counters
  8. as well as the W3 Server's Cache counter object and counters
  9. This file is used in conjunction with the w3ctrs.ini file
  10. by the LODCTR utility to load the object & counter names of the
  11. w3ctrs into the registry.
  12. */
  13. #ifndef _W3CTRS_H_
  14. #define _W3CTRS_H_
  15. //
  16. // The W3 Server counter object.
  17. //
  18. #define W3_COUNTER_OBJECT 0
  19. //
  20. // The individual counters.
  21. //
  22. #define W3_BYTES_SENT_COUNTER 2
  23. #define W3_BYTES_SENT_PER_SEC 4
  24. #define W3_BYTES_RECEIVED_COUNTER 6
  25. #define W3_BYTES_RECEIVED_PER_SEC 8
  26. #define W3_BYTES_TOTAL_COUNTER 10
  27. #define W3_BYTES_TOTAL_PER_SEC 12
  28. #define W3_FILES_SENT_COUNTER 14
  29. #define W3_FILES_SENT_SEC 16
  30. #define W3_FILES_RECEIVED_COUNTER 18
  31. #define W3_FILES_RECEIVED_SEC 20
  32. #define W3_FILES_TOTAL_COUNTER 22
  33. #define W3_FILES_SEC 24
  34. #define W3_CURRENT_ANONYMOUS_COUNTER 26
  35. #define W3_CURRENT_NONANONYMOUS_COUNTER 28
  36. #define W3_TOTAL_ANONYMOUS_COUNTER 30
  37. #define W3_ANONYMOUS_USERS_SEC 32
  38. #define W3_TOTAL_NONANONYMOUS_COUNTER 34
  39. #define W3_NON_ANONYMOUS_USERS_SEC 36
  40. #define W3_MAX_ANONYMOUS_COUNTER 38
  41. #define W3_MAX_NONANONYMOUS_COUNTER 40
  42. #define W3_CURRENT_CONNECTIONS_COUNTER 42
  43. #define W3_MAX_CONNECTIONS_COUNTER 44
  44. #define W3_CONNECTION_ATTEMPTS_COUNTER 46
  45. #define W3_CONNECTION_ATTEMPTS_SEC 48
  46. #define W3_LOGON_ATTEMPTS_COUNTER 50
  47. #define W3_LOGON_ATTEMPTS_SEC 52
  48. #define W3_TOTAL_OPTIONS_COUNTER 54
  49. #define W3_TOTAL_OPTIONS_SEC 56
  50. #define W3_TOTAL_GETS_COUNTER 58
  51. #define W3_TOTAL_GETS_SEC 60
  52. #define W3_TOTAL_POSTS_COUNTER 62
  53. #define W3_TOTAL_POSTS_SEC 64
  54. #define W3_TOTAL_HEADS_COUNTER 66
  55. #define W3_TOTAL_HEADS_SEC 68
  56. #define W3_TOTAL_PUTS_COUNTER 70
  57. #define W3_TOTAL_PUTS_SEC 72
  58. #define W3_TOTAL_DELETES_COUNTER 74
  59. #define W3_TOTAL_DELETES_SEC 76
  60. #define W3_TOTAL_TRACES_COUNTER 78
  61. #define W3_TOTAL_TRACES_SEC 80
  62. #define W3_TOTAL_MOVE_COUNTER 82
  63. #define W3_TOTAL_MOVE_SEC 84
  64. #define W3_TOTAL_COPY_COUNTER 86
  65. #define W3_TOTAL_COPY_SEC 88
  66. #define W3_TOTAL_MKCOL_COUNTER 90
  67. #define W3_TOTAL_MKCOL_SEC 92
  68. #define W3_TOTAL_PROPFIND_COUNTER 94
  69. #define W3_TOTAL_PROPFIND_SEC 96
  70. #define W3_TOTAL_PROPPATCH_COUNTER 98
  71. #define W3_TOTAL_PROPPATCH_SEC 100
  72. #define W3_TOTAL_SEARCH_COUNTER 102
  73. #define W3_TOTAL_SEARCH_SEC 104
  74. #define W3_TOTAL_LOCK_COUNTER 106
  75. #define W3_TOTAL_LOCK_SEC 108
  76. #define W3_TOTAL_UNLOCK_COUNTER 110
  77. #define W3_TOTAL_UNLOCK_SEC 112
  78. #define W3_TOTAL_OTHERS_COUNTER 114
  79. #define W3_TOTAL_OTHERS_SEC 116
  80. #define W3_TOTAL_REQUESTS_COUNTER 118
  81. #define W3_TOTAL_REQUESTS_SEC 120
  82. #define W3_TOTAL_CGI_REQUESTS_COUNTER 122
  83. #define W3_CGI_REQUESTS_SEC 124
  84. #define W3_TOTAL_BGI_REQUESTS_COUNTER 126
  85. #define W3_BGI_REQUESTS_SEC 128
  86. #define W3_TOTAL_NOT_FOUND_ERRORS_COUNTER 130
  87. #define W3_TOTAL_NOT_FOUND_ERRORS_SEC 132
  88. #define W3_TOTAL_LOCKED_ERRORS_COUNTER 134
  89. #define W3_TOTAL_LOCKED_ERRORS_SEC 136
  90. #define W3_CURRENT_CGI_COUNTER 138
  91. #define W3_CURRENT_BGI_COUNTER 140
  92. #define W3_MAX_CGI_COUNTER 142
  93. #define W3_MAX_BGI_COUNTER 144
  94. #define W3_CURRENT_CAL_AUTH_COUNTER 146
  95. #define W3_MAX_CAL_AUTH_COUNTER 148
  96. #define W3_TOTAL_FAILED_CAL_AUTH_COUNTER 150
  97. #define W3_CURRENT_CAL_SSL_COUNTER 152
  98. #define W3_MAX_CAL_SSL_COUNTER 154
  99. #define W3_BLOCKED_REQUESTS_COUNTER 156
  100. #define W3_ALLOWED_REQUESTS_COUNTER 158
  101. #define W3_REJECTED_REQUESTS_COUNTER 160
  102. #define W3_CURRENT_BLOCKED_REQUESTS_COUNTER 162
  103. #define W3_TOTAL_FAILED_CAL_SSL_COUNTER 164
  104. #define W3_MEASURED_BANDWIDTH_COUNTER 166
  105. #define W3_TOTAL_BLOCKED_BANDWIDTH_BYTES_COUNTER 168
  106. #define W3_CURRENT_BLOCKED_BANDWIDTH_BYTES_COUNTER 170
  107. #define W3_SERVICE_UPTIME_COUNTER 172
  108. //
  109. // The IIS Global Counters
  110. //
  111. #define W3_GLOBAL_COUNTER_OBJECT 174
  112. //
  113. // The individual counters.
  114. //
  115. #define W3_GLOBAL_CURRENT_FILES_CACHED_COUNTER 176
  116. #define W3_GLOBAL_TOTAL_FILES_CACHED_COUNTER 178
  117. #define W3_GLOBAL_FILE_CACHE_HITS_COUNTER 180
  118. #define W3_GLOBAL_FILE_CACHE_MISSES_COUNTER 182
  119. #define W3_GLOBAL_FILE_CACHE_HIT_RATIO_COUNTER 184
  120. #define W3_GLOBAL_FILE_CACHE_HIT_RATIO_COUNTER_DENOM 186
  121. #define W3_GLOBAL_FILE_CACHE_FLUSHES_COUNTER 188
  122. #define W3_GLOBAL_CURRENT_FILE_CACHE_MEMORY_USAGE_COUNTER 190
  123. #define W3_GLOBAL_MAX_FILE_CACHE_MEMORY_USAGE_COUNTER 192
  124. #define W3_GLOBAL_ACTIVE_FLUSHED_FILES_COUNTER 194
  125. #define W3_GLOBAL_TOTAL_FLUSHED_FILES_COUNTER 196
  126. #define W3_GLOBAL_CURRENT_URIS_CACHED_COUNTER 198
  127. #define W3_GLOBAL_TOTAL_URIS_CACHED_COUNTER 200
  128. #define W3_GLOBAL_URI_CACHE_HITS_COUNTER 202
  129. #define W3_GLOBAL_URI_CACHE_MISSES_COUNTER 204
  130. #define W3_GLOBAL_URI_CACHE_HIT_RATIO_COUNTER 206
  131. #define W3_GLOBAL_URI_CACHE_HIT_RATIO_COUNTER_DENOM 208
  132. #define W3_GLOBAL_URI_CACHE_FLUSHES_COUNTER 210
  133. #define W3_GLOBAL_TOTAL_FLUSHED_URIS_COUNTER 212
  134. #define W3_GLOBAL_CURRENT_METADATA_CACHED_COUNTER 214
  135. #define W3_GLOBAL_TOTAL_METADATA_CACHED_COUNTER 216
  136. #define W3_GLOBAL_METADATA_CACHE_HITS_COUNTER 218
  137. #define W3_GLOBAL_METADATA_CACHE_MISSES_COUNTER 220
  138. #define W3_GLOBAL_METADATA_CACHE_HIT_RATIO_COUNTER 222
  139. #define W3_GLOBAL_METADATA_CACHE_HIT_RATIO_COUNTER_DENOM 224
  140. #define W3_GLOBAL_METADATA_CACHE_FLUSHES_COUNTER 226
  141. #define W3_GLOBAL_TOTAL_FLUSHED_METADATA_COUNTER 228
  142. #define W3_GLOBAL_KERNEL_CURRENT_URIS_CACHED_COUNTER 230
  143. #define W3_GLOBAL_KERNEL_TOTAL_URIS_CACHED_COUNTER 232
  144. #define W3_GLOBAL_KERNEL_URI_CACHE_HITS_COUNTER 234
  145. #define W3_GLOBAL_KERNEL_URI_CACHE_HITS_PER_SEC 236
  146. #define W3_GLOBAL_KERNEL_URI_CACHE_MISSES_COUNTER 238
  147. #define W3_GLOBAL_KERNEL_URI_CACHE_HIT_RATIO_COUNTER 240
  148. #define W3_GLOBAL_KERNEL_URI_CACHE_HIT_RATIO_COUNTER_DENOM 242
  149. #define W3_GLOBAL_KERNEL_URI_CACHE_FLUSHES_COUNTER 244
  150. #define W3_GLOBAL_KERNEL_TOTAL_FLUSHED_URIS_COUNTER 246
  151. #endif // _W3CTRS_H_