[Oisf-users] Query about packet logging with 2.1

Victor Julien lists at inliniac.net
Tue Feb 3 08:30:54 UTC 2015


On 02/03/2015 12:07 AM, Russell Fulton wrote:
> I am looking at setting up packet logging with the 2.1 beta and I have a query about the configuration.
> 
> From the yaml file:
> 
>  # In multi mode the filename takes a few special variables:  
>   # - %n -- thread number                                     
>   # - %i -- thread id                                         
>   # - %t -- timestamp (secs or secs.usecs based on 'ts-format’
> 
> My question is just what are the thread number and the thread id.  

Thread number is a number that relates to how many threads you have. 2
threads? Then the numbers will be 1 and 2. Use this to get predictable
file names.

Thread id is the 'pid' of the thread, so the id it has in the OS. What
top would show you, etc.

-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-users mailing list