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.

163 lines
6.3 KiB

  1. <html>
  2. <head>
  3. <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
  4. <meta name=Generator content="Microsoft Word 10 (filtered)">
  5. <title>Joining Existing Trace Log Sessions</title>
  6. <style>
  7. <!--
  8. /* Font Definitions */
  9. @font-face
  10. {font-family:Verdana;
  11. panose-1:2 11 6 4 3 5 4 4 2 4;}
  12. @font-face
  13. {font-family:"MS Sans Serif";
  14. panose-1:0 0 0 0 0 0 0 0 0 0;}
  15. /* Style Definitions */
  16. p.MsoNormal, li.MsoNormal, div.MsoNormal
  17. {margin:0in;
  18. margin-bottom:.0001pt;
  19. font-size:12.0pt;
  20. font-family:"Times New Roman";}
  21. h3
  22. {margin-right:0in;
  23. margin-left:0in;
  24. font-size:13.5pt;
  25. font-family:"Times New Roman";
  26. font-weight:bold;}
  27. a:link, span.MsoHyperlink
  28. {color:blue;
  29. text-decoration:underline;}
  30. a:visited, span.MsoHyperlinkFollowed
  31. {color:purple;
  32. text-decoration:underline;}
  33. p
  34. {margin-right:0in;
  35. margin-left:0in;
  36. font-size:12.0pt;
  37. font-family:"Times New Roman";}
  38. @page Section1
  39. {size:8.5in 11.0in;
  40. margin:1.0in 1.25in 1.0in 1.25in;}
  41. div.Section1
  42. {page:Section1;}
  43. /* List Definitions */
  44. ol
  45. {margin-bottom:0in;}
  46. ul
  47. {margin-bottom:0in;}
  48. -->
  49. </style>
  50. </head>
  51. <body lang=EN-US link=blue vlink=purple>
  52. <div class=Section1>
  53. <p><b><span style='font-size:24.0pt'>Controlling Trace Log Sessions</span></b></p>
  54. <p style='margin-bottom:12.0pt'>Once a trace log session has been created, as
  55. explained in <a href="CreatingNewTraceLogSessions.htm">Creating New Trace Log
  56. Sessions</a>, TraceView can be used to control activities of that
  57. session.&nbsp; &nbsp;&nbsp;All control options for a given session are
  58. available by right clicking the session�s line in the Trace Log Session List
  59. window in TraceView as shown here:</p>
  60. <p style='margin-bottom:12.0pt'>&nbsp;</p>
  61. <p style='margin-bottom:12.0pt'><img border=0 width=820 height=295
  62. src="ControllingTraceLogSessions_files/image001.jpg"></p>
  63. <h3><span style='font-size:12.0pt;font-family:Verdana'>&nbsp;</span></h3>
  64. <h3><span style='font-size:12.0pt;font-weight:normal'>The possible options are:</span></h3>
  65. <ul style='margin-top:0in' type=disc>
  66. <li class=MsoNormal>Start Trace</li>
  67. <li class=MsoNormal>Stop Trace</li>
  68. <li class=MsoNormal>Group Sessions</li>
  69. <li class=MsoNormal>Ungroup Sessions</li>
  70. <li class=MsoNormal>Remove Log Session</li>
  71. </ul>
  72. <h3><span style='font-size:12.0pt'>Starting Trace Log Sessions</span></h3>
  73. <h3><span style='font-size:12.0pt;font-weight:normal'>Newly created log
  74. sessions are started automatically.&nbsp; But, once stopped a log session has
  75. to be explicitly started again from the the menu above.&nbsp; Starting the log
  76. session both starts the providers associated with the trace log session and starts
  77. TraceView consuming events from those providers.&nbsp; Only stopped trace log
  78. sessions will have Start Trace as an option.&nbsp; Grouped trace log sessions
  79. all start together, and cannot be started individually while grouped.</span></h3>
  80. <h3><span style='font-size:12.0pt'>Stoping Trace Log Sessions</span></h3>
  81. <h3><span style='font-size:12.0pt;font-weight:normal'>Stopping a currently
  82. active trace log session causes the providers associated with the trace log
  83. session to stop generating events and it stops TraceView from attempting to
  84. consume events from those providers.&nbsp; Only currently active trace log
  85. sessions will have Stop Trace as an option.&nbsp; Grouped sessions all stop
  86. together and cannot be individually stopped while grouped.</span></h3>
  87. <h3><span style='font-size:12.0pt'>Grouping Trace Log Sessions</span></h3>
  88. <h3><span style='font-size:12.0pt;font-weight:normal'>It is possible to group
  89. multiple distinct trace log sessions together in TraceView, such that all trace
  90. log sessions have their events displayed in a single display window.&nbsp;
  91. Grouping is accomplished in a similar fashion to start or stop by right
  92. clicking on the session�s line in the Trace Log Session List window and
  93. selecting the appropriate option from the pop-up menu.&nbsp; Grouping of active
  94. trace log sessions is only supported on .NET and later operating systems.&nbsp;
  95. Grouping of multiple existing log file sessions is supported on all platforms
  96. supporting TraceView.&nbsp; �Group Sessions� will only appear as a valid option
  97. if multiple trace log sessions for real-time trace providers are selected, or
  98. multiple existing log file sessions are selected, but not both.&nbsp; Also, for
  99. real-time trace log sessions, the sessions must all be stopped in order for the
  100. �Group Sessions� to be a valid option.&nbsp; Again, �Group Sessions� will not
  101. show up as a valid option for real-time trace log sessions on any platform
  102. prior to the .NET platforms.&nbsp; Once grouped, all trace log session trace
  103. output will displayed to a single display window for all trace log sessions in
  104. the group. &nbsp;Upon grouping, if any display windows end up having no trace
  105. log sessions associated with them, they are removed.</span></h3>
  106. <h3><span style='font-size:12.0pt'>Ungrouping Trace Log Sessions</span></h3>
  107. <h3><span style='font-size:12.0pt;font-weight:normal'>�Ungroup Sessions� is
  108. only a valid option for stopped trace log sessions.&nbsp; When ungrouped, all
  109. trace log sessions are automatically restarted.&nbsp; Ungrouped sessions are
  110. given a new display window for output.</span></h3>
  111. <h3><span style='font-size:12.0pt'>Removing Trace Log Sessions</span></h3>
  112. <h3 style='margin-bottom:13.5pt'><span style='font-size:12.0pt;font-weight:
  113. normal'>Only stopped trace log sessions can be removed.&nbsp; Removal of a log session
  114. will cause the removal of the trace log session�s information from the Trace
  115. Log Session List window, and will cause the associated display window to be
  116. deleted, if the trace log session is the last associated session with that
  117. display window.</span></h3>
  118. <p class=MsoNormal style='margin-left:.25in'>&nbsp;</p>
  119. <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=873
  120. style='width:654.65pt'>
  121. <tr style='height:.05in'>
  122. <td style='background:aqua;padding:.75pt .75pt .75pt .75pt;height:.05in'>
  123. <p class=MsoNormal style='line-height:3.6pt'><span style='font-size:2.0pt'>&nbsp;</span></p>
  124. </td>
  125. </tr>
  126. </table>
  127. <p><b><span style='font-size:10.0pt;font-family:"MS Sans Serif"'>� Microsoft
  128. Corporation 2002</span></b></p>
  129. <h3><span style='font-weight:normal'>&nbsp;</span></h3>
  130. <p style='margin-bottom:12.0pt'>&nbsp;</p>
  131. </div>
  132. </body>
  133. </html>