in reply to thread count
Create a unique key from the tid/pid by extracting those values from the log file (e.g. with a regex match), and then use a hash to count those keys' occurrences: $count{$key}++; (by iterating over the lines of the file)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: thread count
by namishtiwari (Acolyte) on Jun 10, 2009 at 12:48 UTC | |
by Utilitarian (Vicar) on Jun 10, 2009 at 12:57 UTC | |
by namishtiwari (Acolyte) on Jun 10, 2009 at 14:16 UTC | |
by Utilitarian (Vicar) on Jun 10, 2009 at 14:25 UTC |