Open Frames Download Complete PDF Send Feedback Print This Page

Previous

Next

Monitoring Process Affinity (fw ctl affinity -l -x)

You can monitor the affinity of processes and Virtual Systems on a VSX Gateway. You can use the -vsid parameter to show the affinity for a process to the specified Virtual Systems.

Syntax

> fw ctl affinity -l -x [-vsid <vsid>] [-flags {e|h|k|n|t|o}]

Parameter

Description

<vsid>

Shows the affinity for processes for these Virtual System IDs.

Use a dash to set a range of Virtual Systems.

e

Do not show processes that are affinity exceptions. You define affinity exceptions in:

$FWDIR/conf/vsaffinity_exception.conf

h

Show CPU affinity mask in hexadecimal format.

k

Do not show kernel threads.

n

Show the process name instead of /proc/<pid>/cmdline

t

Show information about process threads.

o

Print the list to a file.

Example

> fw ctl affinity -l -x -vsid 1 -flags tn

-----------------------------------------------------------------------
|PID     |VSID |         CPU              |SRC|V|KT |EXC| NAME
-----------------------------------------------------------------------
|   4756 |   0 |                      all |   | |   |   | pm
|   4773 |   0 |                      all |   | |   |   | confd
|   4774 |   0 |                      all |   | |   |   | searchd
|   5008 |   0 |                      all |   | |   |   | |---searchd
|   4780 |   0 |                      all |   | |   |   | httpd2
|   4781 |   0 |                      all |   | |   |   | monitord
|  24700 |   0 |                      0 1 | P | |   |   | |---cpd
|  24704 |   0 |                      0 1 | P | |   |   | |---cpd
|  24705 |   0 |                      0 1 | P | |   |   | |---cpd
|  22800 |   0 |                      all |   | |   |   | mpdaemon
|  24523 |   0 |                      all |   | |   |   | fwk_forker
|  24525 |   0 |                      all |   | |   |   | fwk_wd
|  24573 |   0 |                  1 3 4 6 | P | |   |   | fw
|  24667 |   0 |                  1 3 4 6 | P | |   |   | |---fw
|  24668 |   0 |                  1 3 4 6 | P | |   |   | |---fw
|  24670 |   0 |                  1 3 4 6 | P | |   |   | |---fw
|  24671 |   0 |                  1 3 4 6 | P | |   |   | |---fw
|  25412 |   0 |                  1 3 4 6 | P | |   |   | |---fw
|  24642 |   0 |              2 3 4 5 6 7 | P | |   |   | fwk0_dev
|  24643 |   0 |              2 3 4 5 6 7 | P | |   |   | |---fwk0_0
|  30186 |   0 |                      all |   | |   |   | clishd
-----------------------------------------------------------------------
 
Top of Page ©2014 Check Point Software Technologies Ltd. All rights reserved. Download Complete PDF Send Feedback Print