[Oisf-users] Query about packet logging with 2.1

Russell Fulton r.fulton at auckland.ac.nz
Thu Feb 5 22:16:01 UTC 2015


> On 3/02/2015, at 9:30 pm, Victor Julien <lists at inliniac.net> wrote:
> 
> 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.

Ah, I see.

I think it would be helpful to change the “thread id” to “thread pid” in the comment.

R


More information about the Oisf-users mailing list