Description
The fw ctl affinity -l
command shows the current CoreXL affinity settings on a Security Gateway for:
Syntax
|
|
|
|
|
fw ctl affinity -l -n <Process Name> |
|
Parameters
Parameter |
Description |
---|---|
|
Shows the affinity for the specified interface. |
|
Shows the affinity for the specified CoreXL FW instance. |
|
Shows the affinity for the Check Point user-space process (for example: fwd, vpnd) specified by its PID. |
|
Shows the affinity for the Check Point user-space process (for example: fwd, vpnd) specified by its name. |
all |
Shows the affinity for all CPU cores (numbers start from zero). |
|
Shows the affinity for the specified CPU cores (numbers start from zero). |
|
Shows all current CoreXL affinities. |
|
Shows verbose output with IRQ numbers of interfaces. |
|
Shows the CoreXL affinities in reverse order. |
|
Suppresses the errors in the output. |
Example 1
[Expert@MyGW:0]# fw ctl affinity -l eth0: CPU 0 eth1: CPU 0 eth2: CPU 0 eth3: CPU 0 fw_0: CPU 7 fw_1: CPU 6 fw_2: CPU 5 fw_3: CPU 4 fw_4: CPU 3 fw_5: CPU 2 fwd: CPU 2 3 4 5 6 7 fgd50: CPU 2 3 4 5 6 7 status_proxy: CPU 2 3 4 5 6 7 rad: CPU 2 3 4 5 6 7 cpstat_monitor: CPU 2 3 4 5 6 7 mpdaemon: CPU 2 3 4 5 6 7 cpsead: CPU 2 3 4 5 6 7 cserver: CPU 2 3 4 5 6 7 rtmd: CPU 2 3 4 5 6 7 fwm: CPU 2 3 4 5 6 7 cpsemd: CPU 2 3 4 5 6 7 cpca: CPU 2 3 4 5 6 7 cprid: CPU 2 3 4 5 6 7 cpd: CPU 2 3 4 5 6 7 [Expert@MyGW:0]# |
Example 2
[Expert@MyGW:0]# fw ctl affinity -l -a -v Interface eth0 (irq 67): CPU 0 Interface eth1 (irq 75): CPU 0 Interface eth2 (irq 83): CPU 0 Interface eth3 (irq 59): CPU 0 fw_0: CPU 7 fw_1: CPU 6 fw_2: CPU 5 fw_3: CPU 4 fw_4: CPU 3 fw_5: CPU 2 fwd: CPU 2 3 4 5 6 7 fgd50: CPU 2 3 4 5 6 7 status_proxy: CPU 2 3 4 5 6 7 rad: CPU 2 3 4 5 6 7 cpstat_monitor: CPU 2 3 4 5 6 7 mpdaemon: CPU 2 3 4 5 6 7 cpsead: CPU 2 3 4 5 6 7 cserver: CPU 2 3 4 5 6 7 rtmd: CPU 2 3 4 5 6 7 fwm: CPU 2 3 4 5 6 7 cpsemd: CPU 2 3 4 5 6 7 cpca: CPU 2 3 4 5 6 7 cprid: CPU 2 3 4 5 6 7 cpd: CPU 2 3 4 5 6 7 [Expert@MyGW:0]# |
Example 3
[Expert@MyGW:0]# fw ctl affinity -l -a -v -r CPU 0: eth0 (irq 67) eth1 (irq 75) eth2 (irq 83) eth3 (irq 59) CPU 1: CPU 2: fw_5 fwd fgd50 status_proxy rad cpstat_monitor mpdaemon cpsead cserver rtmd fwm cpsemd cpca cprid cpd CPU 3: fw_4 fwd fgd50 status_proxy rad cpstat_monitor mpdaemon cpsead cserver rtmd fwm cpsemd cpca cprid cpd CPU 4: fw_3 fwd fgd50 status_proxy rad cpstat_monitor mpdaemon cpsead cserver rtmd fwm cpsemd cpca cprid cpd CPU 5: fw_2 fwd fgd50 status_proxy rad cpstat_monitor mpdaemon cpsead cserver rtmd fwm cpsemd cpca cprid cpd CPU 6: fw_1 fwd fgd50 status_proxy rad cpstat_monitor mpdaemon cpsead cserver rtmd fwm cpsemd cpca cprid cpd CPU 7: fw_0 fwd fgd50 status_proxy rad cpstat_monitor mpdaemon cpsead cserver rtmd fwm cpsemd cpca cprid cpd All: [Expert@MyGW:0]# |
Example 4
[Expert@MyGW:0]# fw ctl affinity -l -i eth0 eth0: CPU 0 [Expert@MyGW:0]# |
Example 5
[Expert@MyGW:0]# ps -ef | grep -v grep | egrep "PID|fwd" UID PID PPID C STIME TTY TIME CMD admin 26641 26452 0 Mar27 ? 00:06:56 fwd [Expert@MyGW:0]# [Expert@MyGW:0]# fw ctl affinity -l -p 26641 Process 26641: CPU 2 3 4 5 6 7 [Expert@MyGW:0]# [Expert@MyGW:0]# fw ctl affinity -l -n fwd fwd: CPU 2 3 4 5 6 7 [Expert@MyGW:0]# |
Example 6
[Expert@MyGW:0]# fw ctl affinity -l -k 1 fw_1: CPU 6 [Expert@MyGW:0]# |
Example 7
[Expert@MyGW:0]# fw -d ctl affinity -corelicnum [5363 4134733584]@MyGW[4 Apr 18:11:03] Number of system CPUs 8 [5363 4134733584]@MyGW[4 Apr 18:11:03] cplic_get_navailable_cpus: fw_get_allowed_cpus_num returned invalid value (100000) - all cpus considered as allowed!!! 4 [5363 4134733584]@MyGW[4 Apr 18:11:03] cpKeyTaskManager::~cpKeyTaskManager: called. [Expert@MyGW:0]# |