-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@inc/input_vars_init; | ||
set termout off; | ||
col payload for a300; | ||
spool "&2" replace | ||
select | ||
-- component_name,operation_name,file_name,function_name,line_number, | ||
payload | ||
from V$DIAG_TRACE_FILE_CONTENTS | ||
where | ||
trace_filename like '&1' | ||
; | ||
spool off; | ||
col payload clear; | ||
set termout on; | ||
|
||
-- you can open file automatically using the following line: | ||
-- host &_START &2 | ||
|
||
-- _START depends on OS: it is set automatically in inc/on_login_win or inc/on_login_nix | ||
-- windows: | ||
-- DEFINE _START ="start" | ||
-- *nix: | ||
-- DEFINE _START ="open" |