The trcsess
utility consolidates trace output from selected trace files based on several criteria:
-
Session ID 会话ID
-
Client ID 客户端ID
-
Service name 服务名
-
Action name 操作名
-
Module name 模块名
After trcsess
merges the trace information into a single output file, the output file could be processed by TKPROF
.--合并完以后可以使用tkprof工具输出
trcsess
is useful for consolidating the tracing of a particular session for performance or debugging purposes. Tracing a specific session is usually not a problem in the dedicated server model as a single dedicated process serves a session during its lifetime. You can see the trace information for the session from the trace file belonging to the dedicated server serving it. However, in a shared server configuration a user session is serviced by different processes from time to time. The trace pertaining to the user session is scattered across different trace files belonging to different processes. This makes it difficult to get a complete picture of the life cycle of a session. --共享服务器中经常会有多个trace文件产生,此时查看变成了很困难的事情。
the syntax for the trcsess
utility is:
trcsess [output=output_file_name] [session=session_id] [clientid=client_id] [service=service_name] [action=action_name] [module=module_name] [trace_files]