[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- '-t2003-02-18-16: 15:53.000'
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Wed May 12 19:59:43 2004 -->
- <!--x-from-r13: wbanguna.tynff ng voo.tngrpu.rqh (Xbanguna Uynff) -->
- <!--x-message-id: 1084406160.9097.93.camel@ibb-250 -->
- <!--x-subject: [ale] Help Processing a Log File -->
- <li><em>date</em>: Wed May 12 19:59:43 2004</li>
- <li><em>from</em>: jonathan.glass at ibb.gatech.edu (Jonathan Glass)</li>
- <li><em>subject</em>: [ale] Help Processing a Log File</li>
start '-q29645' '-p241810' '-t2003-02-18-16:15:55.087' '-Aomard at MUTT+8'
'-nomard' '-Plp'
filestart '-q29646' '-p241810' '-t2003-02-18-16:15:57.095'
'-Aomard at MUTT+8' '-nomard' '-Plp'
fileend '-b9' '-T36' '-q29646' '-p241819' '-t2003-02-18-16:16:31.076'
'-Aomard at MUTT+8' '-nomard' '-Plp'
end '-b9' '-T42' '-q29645' '-p241819' '-t2003-02-18-16:16:35.070'
'-Aomard at MUTT+8' '-nomard' '-Plp'
jobend '-HMUTT' '-nomard' '-Plp' '-kcfA008MUTT' '-b752686'
'-t2003-02-18-16:16:35.000'
-----------------
All I need to do is pull out the user (-nomard, -name omard) and the
number of pages printed (fileend -p241819, subtract filestart -p241810).
I can think of ways of pulling a single variable out (username, #pages
at start, #pages at end), but can't figure out how to pull out all 3
simultaneously.
i'm hoping to parse through the past year's worth of logs and create a
cumulative total, broken down by user and month.
I recently saw a perl regex that could do this, but it was too complex
for me to follow.
Any suggestions, pointers, tips? I really need this report fairly soon,
unfortunately.
TIA
Jonathan Glass
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00512" href="msg00512.html">[ale] Help Processing a Log File</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00526" href="msg00526.html">[ale] Help Processing a Log File</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00531" href="msg00531.html">[ale] Help Processing a Log File</a></strong>
<ul><li><em>From:</em> jknapka at kneuro.net (Joe Knapka)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00507.html">[ale] knoppix issues</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00509.html">[ale] Booting from Promise Ultra133 TX2</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00503.html">[ale] knoppix issues</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00512.html">[ale] Help Processing a Log File</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00508"><strong>Date</strong></a></li>
<li><a href="threads.html#00508"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>