On Thu, Sep 16, 2010 at 7:03 PM, Smith, Gary R <span dir="ltr"><<a href="mailto:gary.smith@pnl.gov">gary.smith@pnl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Jure,</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Presuming you’ve captured the audit records you’re interested
 in a file named snorf, you could do something like this:</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">cat snorf | awk -F\= '{print $8 "0A"}' | xxd -r –p</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">In the example you had in the email, arg4 turns out to be: strbegins(thread_id,"thread_id=2369892f")</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p></div></div></blockquote><div> </div></div>Thanks a lot Gary<br><br>This is exactly what I need =))<br><br>Jure<br>