Cmd usage:
#fw ctl affinity
List affinity (specific target or all):
fw ctl affinity -l [ <proc_selection> | [-r] [-a] ] [-v]
-a - All, list also targets without specific affinity.
-r - Reverse, list targets ordered by cpu.
-v - Verbose, print more info.
-q - Quiet, suppress errors.
proc_selection: { -p <pid> | -n <name> | -k <instance_id> | -i <interface> | -d}
(in case of virtual device, no identifier is needed, current context will be used)
-p - Process ID (will not survive reboot).
-n - CP daemon name (e.g. fwd).
-k - User space instance number.
-i - Interface name.
Sample output of the cmd:
#fw ctl affinity -l -a -v -r
CPU 0: eth0 (irq 19) eth1 (irq 16) eth2 (irq 17) eth3 (irq 18) eth4 (irq 19) eth5 (irq 16)
fw_1
CPU 1: fw_0
All: mpdaemon fwd rtmd pdpd in.asessiond lpd pepd rad vpnd cprid cpd
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Degenhardt
Highly Voted 3 years, 2 months agoAmathai1803
Most Recent 10 months, 2 weeks agocertcert1
1 year, 4 months agoSymbuk
2 years, 1 month agobobby14
2 years, 5 months ago