home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s005 / 16.ddi / RAS / OS2_HELP_TRACEFMT.HLP (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1993-04-22  |  11.7 KB  |  363 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Help for the Trace Formatter ΓòÉΓòÉΓòÉ
  3.  
  4. Use the OS/2 System Trace Formatter to determine which trace points have been 
  5. logged by an OS/2* system.  The Trace Formatter also processes the data 
  6. associated with those trace points. 
  7.  
  8. The Trace Formatter uses unformatted trace event data to produce formatted 
  9. output describing information logged by the system.  You can then save the 
  10. trace data in a file.  Major and minor codes tell you from where in the system 
  11. the logged information came.  The Process ID (PID) indicates which process 
  12. caused the event to be logged. 
  13.  
  14. This utility is intended to be used with the assistance of your Service 
  15. Representative.  A Service Representative can help you set up a system for 
  16. system trace, start system trace, and run the Trace Formatter to capture and 
  17. save the trace events in a file.  You can then send the events that have been 
  18. saved in a file to your Service Representative for analysis. 
  19.  
  20. Related information: 
  21.  
  22. Configuring Your System 
  23.  
  24.  
  25. ΓòÉΓòÉΓòÉ <hidden> OS/2 ΓòÉΓòÉΓòÉ
  26.  
  27. Trademark of the IBM Corporation. 
  28.  
  29.  
  30. ΓòÉΓòÉΓòÉ 2. Configuring Your System ΓòÉΓòÉΓòÉ
  31.  
  32. Your system must be properly configured to perform system trace.  Your 
  33. CONFIG.SYS file must include either the TRACE= or TRACEBUF= statements.  If you 
  34. specify TRACE=ON in the CONFIG.SYS file, the system begins logging trace events 
  35. from start-up time.  If you specify TRACE=OFF in the CONFIG.SYS file, you must 
  36. start tracing by entering the TRACE command at a command prompt. 
  37.  
  38. If you specify the TRACEBUF= statement in the CONFIG.SYS file, you indicate the 
  39. amount of space the system reserves to hold trace events.  You can specify a 
  40. size in the range of 1K to 63K.  If you do not include a TRACEBUF statement, 
  41. the system uses a default buffer size of 4K.  Refer to the TRACE Utility in the 
  42. OS/2 Command Reference for more information on these statements and their 
  43. syntax. 
  44.  
  45. Note:   It is recommended that you not include these statements in the 
  46.         CONFIG.SYS file if you will not be using system trace. 
  47.  
  48. You can use the Trace Formatter on a system that is not configured for system 
  49. trace.  However, you can use as input only unformatted system trace data that 
  50. has been previously saved in a file. 
  51.  
  52.  
  53. ΓòÉΓòÉΓòÉ 3. Help for File ΓòÉΓòÉΓòÉ
  54.  
  55. Use the choices on the File menu to view, retrieve, save, or print trace data 
  56. or to close the Trace Formatter. 
  57.  
  58.  
  59. ΓòÉΓòÉΓòÉ 4. Help for Open ΓòÉΓòÉΓòÉ
  60.  
  61. Use Open to retrieve and then format unformatted trace data that has been 
  62. previously stored in a file. 
  63.  
  64.  
  65. ΓòÉΓòÉΓòÉ 5. Help for Retrieve System Trace Buffer ΓòÉΓòÉΓòÉ
  66.  
  67. Use Retrieve system trace buffer to retrieve and then format the data that is 
  68. currently in the system trace buffer.  When this operation is performed, a copy 
  69. is made of the data in the system trace data buffer, and the system trace data 
  70. buffer is cleared.  The Trace Formatter then holds the only copy of the new 
  71. trace data.  If you will need the data at a later time, save it with the Save 
  72. unformatted data choice on the Save as menu. 
  73.  
  74. You can select this choice only if your system is currently configured for 
  75. system trace. 
  76.  
  77.  
  78. ΓòÉΓòÉΓòÉ 6. Help for Save As ΓòÉΓòÉΓòÉ
  79.  
  80. Use the choices on the Save as menu to store the trace data to a file.  You can 
  81. save the data in a formatted or unformatted form.  You can also save a summary 
  82. of the trace data.  You can choose to have the summary grouped by event code or 
  83. by process ID. 
  84.  
  85.  
  86. ΓòÉΓòÉΓòÉ 7. Help for Save Unformatted Trace Data ΓòÉΓòÉΓòÉ
  87.  
  88. Use Save unformatted trace data to save the trace data in its unformatted form. 
  89. This is helpful if it might be necessary to format the data at a later time. 
  90.  
  91.  
  92. ΓòÉΓòÉΓòÉ 8. Help for Save Formatted Trace Data ΓòÉΓòÉΓòÉ
  93.  
  94. Use Save formatted trace data to save the formatted trace data. 
  95.  
  96.  
  97. ΓòÉΓòÉΓòÉ 9. Help for Save Summary by PID ΓòÉΓòÉΓòÉ
  98.  
  99. Use Save summary by Process ID to save a summary of the trace data that is 
  100. grouped by process ID. 
  101.  
  102.  
  103. ΓòÉΓòÉΓòÉ 10. Help for Save Summary by Major Code ΓòÉΓòÉΓòÉ
  104.  
  105. Use Save summary by major code to save a summary of the trace data that is 
  106. grouped by major code. 
  107.  
  108.  
  109. ΓòÉΓòÉΓòÉ 11. Help for Print ΓòÉΓòÉΓòÉ
  110.  
  111. Use the choices on the Print menu to print trace data.  You can print formatted 
  112. trace data or you can print a summary of the data.  You can choose to group the 
  113. summary by event code or by process ID. 
  114.  
  115.  
  116. ΓòÉΓòÉΓòÉ 12. Help for Print Formatted Trace Data ΓòÉΓòÉΓòÉ
  117.  
  118. Use Print formatted trace data to print the formatted trace data. 
  119.  
  120.  
  121. ΓòÉΓòÉΓòÉ 13. Help for Print Summary by PID ΓòÉΓòÉΓòÉ
  122.  
  123. Use Print summary by Process ID to print a summary of the trace data that is 
  124. grouped by process ID. 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ 14. Help for Print Summary by Major Code ΓòÉΓòÉΓòÉ
  128.  
  129. Use Print summary by major code to print a summary of the trace data that is 
  130. grouped by major code. 
  131.  
  132.  
  133. ΓòÉΓòÉΓòÉ 15. Help for Exit ΓòÉΓòÉΓòÉ
  134.  
  135. Use Exit to close the Trace Formatter window.  If a copy of unformatted trace 
  136. data is being used, be sure to save it if the data might be needed at a later 
  137. time. 
  138.  
  139.  
  140. ΓòÉΓòÉΓòÉ 16. Help for View ΓòÉΓòÉΓòÉ
  141.  
  142. Use the choices on the View menu to display trace data.  You can display 
  143. formatted trace data or you can display a summary of the data.  You can choose 
  144. to group the summary by event code or by process ID. 
  145.  
  146.  
  147. ΓòÉΓòÉΓòÉ 17. Help for View Formatted Data ΓòÉΓòÉΓòÉ
  148.  
  149. Use View formatted data to display the formatted trace data. 
  150.  
  151.  
  152. ΓòÉΓòÉΓòÉ 18. Help for View Summary by PID ΓòÉΓòÉΓòÉ
  153.  
  154. Use View summary by Process ID to display a summary of trace data that is 
  155. grouped by process ID. 
  156.  
  157.  
  158. ΓòÉΓòÉΓòÉ 19. Help for View Summary by Major Code ΓòÉΓòÉΓòÉ
  159.  
  160. Use View summary by major code to display a summary of trace data that is 
  161. grouped by major code. 
  162.  
  163.  
  164. ΓòÉΓòÉΓòÉ 20. Message: Not Logging Data ΓòÉΓòÉΓòÉ
  165.  
  166. The system is not configured for system trace.  Your CONFIG.SYS file does not 
  167. contain either the TRACE= or TRACEBUF= statements.  If you wish to use system 
  168. trace, you will need to add one or both of these statements to your CONFIG.SYS 
  169. file and restart your system. 
  170.  
  171. Because the system is not configured for system trace, the Trace Formatter can 
  172. accept only trace data that has been previously stored to a file.  To obtain 
  173. data previously stored to a file, select the Open choice from the File pull 
  174. down.  For further information, refer to the Command Reference. 
  175.  
  176.  
  177. ΓòÉΓòÉΓòÉ 21. Message: No Data Retrieved ΓòÉΓòÉΓòÉ
  178.  
  179. You attempted to retrieve system trace data from either the system trace buffer 
  180. or a file, and there was no data to retrieve or the attempt failed. 
  181.  
  182. If you start the Trace Formatter without specifying a file name, the Trace 
  183. Formatter attempts to retrieve data from the system trace buffer. 
  184.  
  185.  
  186. ΓòÉΓòÉΓòÉ 22. Message: Print Started ΓòÉΓòÉΓòÉ
  187.  
  188. Your request to print has completed successfully.  The Print ID number can be 
  189. used to send the print job to the Print Manager. 
  190.  
  191.  
  192. ΓòÉΓòÉΓòÉ 23. Question: Do You Want to Exit? ΓòÉΓòÉΓòÉ
  193.  
  194. If you select the Yes pushbutton, the Trace Formatter ends.  Before you do 
  195. this, you might want to save any data that has been retrieved from the system 
  196. trace buffer.  If you save this data to a file, you can format the data later. 
  197.  
  198. If you select the No pushbutton, the Trace Formatter resumes. 
  199.  
  200.  
  201. ΓòÉΓòÉΓòÉ 24. Question: Overwrite Data? ΓòÉΓòÉΓòÉ
  202.  
  203. If you select the OK pushbutton, the Trace Formatter attempts to replace the 
  204. current data with data from the source you specified.  The current data will be 
  205. lost unless you have previously stored it to file.  If you select the Cancel 
  206. pushbutton, the current data remains untouched and the retrieve function does 
  207. not continue.  ********* 
  208.  
  209.  
  210. ΓòÉΓòÉΓòÉ <hidden> Help for Print ΓòÉΓòÉΓòÉ
  211.  
  212.  1. Select a printer from the printer list. 
  213.  2. Select the Print pushbutton. 
  214.  
  215. For a detailed explanation of each field, select from the list below: 
  216.  
  217. o Printer 
  218. o Print pushbutton 
  219. o Cancel pushbutton 
  220.  
  221.  
  222. ΓòÉΓòÉΓòÉ <hidden> Help for Printer ΓòÉΓòÉΓòÉ
  223.  
  224. This list shows the printers you can use. 
  225.  
  226.  
  227. ΓòÉΓòÉΓòÉ <hidden> Help for Print ΓòÉΓòÉΓòÉ
  228.  
  229. Select the Print pushbutton to print the trace data. 
  230.  
  231.  
  232. ΓòÉΓòÉΓòÉ <hidden> Help for Open ΓòÉΓòÉΓòÉ
  233.  
  234.  1. Select the arrow to the right of the Drive list to display all the drives 
  235.     on your system. 
  236.  2. Select a drive from the Drive list. 
  237.  3. Select a directory from the Directory list. 
  238.  4. Select a file name from the File list or type in a file name and select the 
  239.     Open pushbutton to display the file you want to view. 
  240.  
  241. For a detailed explanation of each field, select from the list below: 
  242.  
  243. o Open filename 
  244. o Type of file 
  245. o Drive 
  246. o File 
  247. o Directory 
  248. o Open pushbutton 
  249. o Cancel pushbutton 
  250.  
  251.  
  252. ΓòÉΓòÉΓòÉ <hidden> Help for Open Filename ΓòÉΓòÉΓòÉ
  253.  
  254. Type the name of the file you want to open in the Open filename field and 
  255. select the Open pushbutton. 
  256.  
  257.  
  258. ΓòÉΓòÉΓòÉ <hidden> Help for Type of File ΓòÉΓòÉΓòÉ
  259.  
  260. Select the arrow to the right of the Type of file field to display the 
  261. available file types.  The Trace Formatter has set this field for all file 
  262. types. 
  263.  
  264.  
  265. ΓòÉΓòÉΓòÉ <hidden> Help for Drive ΓòÉΓòÉΓòÉ
  266.  
  267. The Drive list displays the drives on your system.  Select the drive that 
  268. contains the files you want to view. 
  269.  
  270.  
  271. ΓòÉΓòÉΓòÉ <hidden> Help for File ΓòÉΓòÉΓòÉ
  272.  
  273. The File list displays all the files in the directory you selected from the 
  274. Directory list.  Select the file you want to open. 
  275.  
  276.  
  277. ΓòÉΓòÉΓòÉ <hidden> Help for Directory ΓòÉΓòÉΓòÉ
  278.  
  279. The Directory list displays the directories on the selected drive.  Select a 
  280. directory to display the list of files from that directory in the File list 
  281. box. 
  282.  
  283.  
  284. ΓòÉΓòÉΓòÉ <hidden> Help for Open ΓòÉΓòÉΓòÉ
  285.  
  286. Select the Open pushbutton to view the file you selected and read unformatted 
  287. trace event data from the file. 
  288.  
  289.  
  290. ΓòÉΓòÉΓòÉ <hidden> Help for Cancel ΓòÉΓòÉΓòÉ
  291.  
  292. Select the Cancel pushbutton if you decide not to change the current settings. 
  293.  
  294.  
  295. ΓòÉΓòÉΓòÉ <hidden> Help for Save As ΓòÉΓòÉΓòÉ
  296.  
  297.  1. Select the arrow to the right of the Drive list to display all the drives 
  298.     on your system. 
  299.  2. Select a drive from the Drive list. 
  300.  3. Select a directory from the Directory list. 
  301.  4. Select a file name from the File list or type in a file name and select the 
  302.     Save pushbutton to save the file you want. 
  303.  
  304. For a detailed explanation of each field, select from the list below: 
  305.  
  306. o Save as filename 
  307. o Save file as type 
  308. o Drive 
  309. o File 
  310. o Directory 
  311. o Save pushbutton 
  312. o Cancel pushbutton 
  313.  
  314.  
  315. ΓòÉΓòÉΓòÉ <hidden> Help for Save as Filename ΓòÉΓòÉΓòÉ
  316.  
  317. Type the name of the file you want to save in the Save as filename field and 
  318. select the Save pushbutton. 
  319.  
  320.  
  321. ΓòÉΓòÉΓòÉ <hidden> Help for Save File as Type ΓòÉΓòÉΓòÉ
  322.  
  323. Select the arrow to the right of the Save file as type field to display the 
  324. available file types.  The Trace Formatter has set this field for all file 
  325. types. 
  326.  
  327.  
  328. ΓòÉΓòÉΓòÉ <hidden> Help for Drive ΓòÉΓòÉΓòÉ
  329.  
  330. The Drive list displays the drives on your system.  Select the drive that 
  331. contains the files you want to save. 
  332.  
  333.  
  334. ΓòÉΓòÉΓòÉ <hidden> Help for File ΓòÉΓòÉΓòÉ
  335.  
  336. The File list displays all the files in the directory you selected from the 
  337. Directory list.  Select the file you want to save. 
  338.  
  339.  
  340. ΓòÉΓòÉΓòÉ <hidden> Help for Directory ΓòÉΓòÉΓòÉ
  341.  
  342. The Directory list displays the directories on the selected drive.  Select a 
  343. directory to display the list of files from that directory in the File list 
  344. box. 
  345.  
  346.  
  347. ΓòÉΓòÉΓòÉ <hidden> Help for Save ΓòÉΓòÉΓòÉ
  348.  
  349. Select the Save pushbutton to save the information you requested in the file 
  350. name you specified. 
  351.  
  352.  
  353. ΓòÉΓòÉΓòÉ 25. Key Assignments for TRACEFMT ΓòÉΓòÉΓòÉ
  354.  
  355. When two key names are joined by a plus sign (+), use these two keys together. 
  356. Hold down the first key and press the second key. 
  357.  
  358. There are no specific key assignments for TRACEFMT.  To see the list of keys 
  359. for the operating system, select the following topic. 
  360.  
  361. Related information: 
  362.  
  363. Key Assignments