VSXモードでの「fw ctl affinity -l」コマンドの実行

説明

fw ctl affinity -l コマンドは、VSX閉じた 仮想システム拡張。Check Point Security Gatewayおよびその他のネットワークデバイスの仮想抽象化を備えたコンピュータまたはクラスタでホストされるCheckPoint仮想ネットワークソリューション。これらの仮想デバイスは、物理的な対応デバイスと同じ機能を提供します。 Gateway の CoreXL閉じた マルチコア処理プラットフォーム上のセキュリティゲートウェイのパフォーマンス向上テクノロジー。複数のCheck Point Firewallインスタンスが、複数のCPUコアで並行して実行されています。 アフィニティ閉じた 指定されたCoreXL Firewall インスタンス、VSX Virtual System、インタフェース、ユーザスペースプロセス、またはIRQ を1 つ以上の指定されたCPU コアに割り当てます。の設定を表示します。

-fw ctl affinity -l -x コマンドを実行する前に、Gaia Clish閉じた CheckPoint Gaiaオペレーティングシステムのデフォルトのコマンドラインシェルの名前。これは制限付きシェルです(役割ベースの管理は、シェルで使用可能なコマンドの数を制御します)。 コマンドset virtual-system <VSID>で該当する Virtual System または Virtual Router のコンテキストに移動しておく必要があります。

構文

  • VSXモードでアフィニティを表示する場合(オプションのパラメータを組み合わせることができます)。

    fw ctl affinity -l -x

          [-vsid <VSID ranges>]

          [-cpu <CPU ID ranges>]

          [-flags {e | k | t | n | h | o}]

  • インストールされているCoreXLライセンスで許可されているシステムのCPUコア数を表示します。

    fw -d ctl affinity -corelicnum

パラメータ

パラメータ

説明

-vsid <VSID ranges>

親和性を示す。

  • 指定された単一の仮想システム(例えば、-vsid 7 )。

  • 指定された複数の仮想システム(例えば、-vsid 0-2 4 )。

重要--vsid パラメータを省略した場合、コマンドは現在の仮想コンテキストで実行されます。

<CPU ID ranges>

親和性を示す。

  • 指定されたシングルCPU(例えば、-cpu 7 )。

  • 指定された複数のCPUコア(例えば、-cpu 0-2 4 )。

-flags {e | k | t | n | h | o}

-flags パラメータは、少なくともこれらの引数のうち1つを必要とします。

  • e - 例外処理を表示しない

  • k - カーネルスレッドを表示しない

  • t - すべてのプロセススレッドを表示する

  • n - の代わりにプロセス名を表示します。 /proc/<PID> /cmdline

  • h - CPUマスクを16進数で表示する

  • o - というファイルに出力します。 /tmp/affinity_list_output

重要- 複数の引数をまとめて指定する必要があります。例: -flags tn

例1

[Expert@VSX_GW:0]# fw ctl affinity -l -x -cpu 0
---------------------------------------------------------------------
|PID     |VSID |               CPU                    |SRC|V|KT |EXC| NAME
---------------------------------------------------------------------
|      2 |   0 |                                    0 |   | | K |   |
|      3 |   0 |                                    0 |   | | K |   |
|      4 |   0 |                                    0 |   | | K |   |
|     14 |   0 |                                    0 |   | | K |   |
|     99 |   0 |                                    0 |   | | K |   |
|    278 |   0 |                                    0 |   | | K |   |
|    382 |   0 |                                    0 |   | | K |   |
|    674 |   0 |                                    0 |   | | K |   |
|   2195 |   0 |                                    0 |   | | K |   |
|   6348 |   0 |                                    0 |   | | K |   |
|   6378 |   0 |                                    0 |   | | K |   |
---------------------------------------------------------------------
PID   - represents the pid of the process
VSID  - represents the virtual device id
CPU   - represents the CPUs assigned to the specific process
SRC   - represents the source configuration file of the process - (V)SID / (I)nstance / (P)rocess
V     - represents validity,star means that the actual affinity is different than the configured affinity
KT    - represents whether the process is a kernel thread
EXC   - represents whether the process belongs to the process exception list (vsaffinity_exception.conf)
[Expert@VSX_GW:0]#

例2

[Expert@VSX_GW:0]# fw ctl affinity -l -x -vsid 1
---------------------------------------------------------------------
|PID     |VSID |               CPU                    |SRC|V|KT |EXC| NAME
---------------------------------------------------------------------
|   3593 |   1 |                                1 2 3 |   | |   |   | httpd
|  10997 |   1 |                                1 2 3 |   | |   |   | cvpn_rotatelogs
|  11005 |   1 |                                1 2 3 |   | |   |   | httpd
|  22294 |   1 |                                1 2 3 |   | |   |   | routed
|  22328 |   1 |                                1 2 3 |   | |   |   | fwk_wd
|  22333 |   1 |                                1 2 3 | P | |   |   | fwk
|  22488 |   1 |                                1 2 3 |   | |   |   | cpd
|  22492 |   1 |                                1 2 3 |   | |   |   | fwd
|  22504 |   1 |                                1 2 3 |   | |   |   | cpviewd
|  22525 |   1 |                                1 2 3 |   | |   |   | mpdaemon
|  22527 |   1 |                                1 2 3 |   | |   |   | ci_http_server
|  30629 |   1 |                                1 2 3 |   | |   |   | vpnd
|  30631 |   1 |                                1 2 3 |   | |   |   | pdpd
|  30632 |   1 |                                1 2 3 |   | |   |   | pepd
|  30635 |   1 |                                1 2 3 |   | |   |   | fwpushd
|  30743 |   1 |                                1 2 3 |   | |   |   | dbwriter
|  30748 |   1 |                                1 2 3 |   | |   |   | cvpnproc
|  30752 |   1 |                                1 2 3 |   | |   |   | MoveFileServer
|  30756 |   1 |                                1 2 3 |   | |   |   | CvpnUMD
|  30760 |   1 |                                1 2 3 |   | |   |   | Pinger
|  30764 |   1 |                                1 2 3 |   | |   |   | IdlePinger
|  30770 |   1 |                                1 2 3 |   | |   |   | cvpnd
---------------------------------------------------------------------
[Expert@VSX_GW:0]#