ジャンプ先: 概要. 戻り値. キーワード. フラグ. MEL 例.
dbtrace [-filter string] [-info] [-keyword string] [-mark] [-off] [-output string] [-timed boolean] [-title string] [-verbose]
dbtrace は、取り消し不可能、照会可能、および編集不可能です。
dbtrace コマンドを使用して、トレース オブジェクトを操作します。keyword は、変更対象のトレース オブジェクトを示す、唯一の必須引数です。
- 影響するトレース オブジェクト(keyword KEY)
- オプションのフィルタリング基準(filter FILTER)
- 関数(off、output FILE、mark、title TITLE、timed: 既定の動作はトレースの有効化)
照会モードを使用すると、現在アクティブなキーワードの検索(引数なしで照会)、または現在非アクティブなキーワードの検索(off 引数を指定して照会)を実行できます。この照会を強化するには、キーワード引数を指定するか、指定を外します。こうすると、出力の送信先の検索(output 引数を指定して照会)、現在適用されているフィルタの検索(filter 引数を指定して照会)、または出力にタイムスタンプが付けられるかどうかの判別(timed 引数を指定して照会)を行うことができます。
なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
debug, trace, filter
filter, info, keyword, mark, off, output, timed, title, verbose
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// The default action is to turn the trace object on. This action can be
// changed using one of the -off, -output, -filter, -mark, or -title.
dbtrace -off; // turns all active tracing off
dbtrace -k "key"; // turns on all tracing for keyword "key"
dbtrace -o "FRED"; // sends all active tracing output to the file "FRED"
// Inserts a title line in all active trace destinations having keyword 'key'
dbtrace -k "key" -t "This is a Title";
// Only turn on traces with keyword "key" in Transform nodes
dbtrace -k "key" -f "transform";
// Show where output is going for all trace objects having keyword "fooTrace"
dbtrace -q -k "fooTrace" -o