fw ctl leak
説明
漏水検知報告書を作成します。このレポートは、Check Pointの使用のみを目的としています。
|
重要- このコマンドは、レポートをアクティブな |
構文
|
パラメータ
パラメータ |
説明 |
||
---|---|---|---|
|
デバッグモードでコマンドを実行します。 コマンド自体のトラブルシューティングを行う場合のみ使用します。
|
||
|
内蔵のヘルプを表示します。 |
||
|
潜在的な漏水に対して漏水検知を行うことを指定する。 このパラメータは,パラメータ " |
||
|
すべてのリークに対してリーク検出を行うことを指定します。 このパラメータは,パラメータ " |
||
|
オブジェクトデータをダンプする。 このパラメータは,パラメータ " |
||
|
アクションログを印刷します。 このパラメータは,パラメータ " |
||
|
指定された内部オブジェクト ID に対して、漏洩検知を行うことを指定する。 |
||
|
リストから内部オブジェクトを消去します。 このパラメータは,パラメータ " |
||
|
サマリーのみ表示します。 このパラメータは、パラメータ" |
||
|
リーク検出を行う内部オブジェクトの種類を指定する。 利用可能な内部オブジェクトの種類は以下の通りです。
内部オブジェクトタイプを明示的に指定しない場合、コマンドはすべての内部オブジェクトタイプに対してリーク検出を実行します。 |
手順
ステップ |
手順 |
||
---|---|---|---|
1 |
Security Groupでコマンドラインに接続します。 |
||
2 |
エキスパートモード |
||
3 |
現在の/var/log/messagesファイルをバックアップします。
|
||
4 |
現在の/var/log/messages ファイルから情報を削除します。
|
||
5 |
現在のdmesg バッファから情報を削除する。
|
||
6 |
漏水検知レポートを作成する(上記「構文」の項を参照)。
|
||
7 |
コマンドで漏洩検知レポートが生成されたことを確認する。
|
||
8 |
漏水検知報告書を回収する。
|
||
9 |
漏水検知報告書を分析する。
|
例
[Expert@MyGW:0]# cp -v /var/log/messages{,_BKP} `/var/log/messages' -> `/var/log/messages_BKP' [Expert@MyGW:0]# [Expert@MyGW:0]# echo '' > /var/log/messages [Expert@MyGW:0]# [Expert@MyGW:0]# dmesg -c [Expert@MyGW:0]# [Expert@MyGW:0]# fw ctl leak -s [Expert@MyGW:0]# [Expert@MyGW:0]# dmesg [fw4_0];fwleak_report: type chain - 0 objects [fw4_0];fwleak_report: type cookie - 0 objects [fw4_0];fwleak_report: type kbuf - 0 objects [fw4_0];fwleak_report: type connh - 0 objects [fw4_1];fwleak_report: type chain - 0 objects [fw4_1];fwleak_report: type cookie - 0 objects [fw4_1];fwleak_report: type kbuf - 0 objects [fw4_1];fwleak_report: type connh - 0 objects [fw4_2];fwleak_report: type chain - 0 objects [fw4_2];fwleak_report: type cookie - 0 objects [fw4_2];fwleak_report: type kbuf - 0 objects [fw4_2];fwleak_report: type connh - 0 objects [Expert@MyGW:0]# [Expert@MyGW:0]# cat /var/log/messages Sep 12 16:09:50 2019 MyGW kernel: [fw4_0];fwleak_report: type chain - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_0];fwleak_report: type cookie - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_0];fwleak_report: type kbuf - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_0];fwleak_report: type connh - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_1];fwleak_report: type chain - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_1];fwleak_report: type cookie - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_1];fwleak_report: type kbuf - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_1];fwleak_report: type connh - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_2];fwleak_report: type chain - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_2];fwleak_report: type cookie - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_2];fwleak_report: type kbuf - 0 objects Sep 12 16:09:50 2019 MyGW kernel: [fw4_2];fwleak_report: type connh - 0 objects [Expert@MyGW:0] [Expert@MyGW:0]# cp -v /var/log/messages{,_LEAK_DETECTION} `/var/log/messages' -> `/var/log/messages_LEAK_DETECTION' [Expert@MyGW:0]# |