[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



If you do this?

#!/usr/bin/perl


use strict;

my ($user, $p1, $p2);

while (<ARGV>) {

     /jobstart/ &&  ($user = substr((split(/\'/, $_))[3], 2));
     /filestart/ &&  ($p1 = substr((split(/\'/, $_))[3], 2));
     /fileend/ && ($p2 = substr((split(/\'/, $_))[7], 2))
         && print "$user ", $p2 - $p1, "\n";
};

-- 
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems in spite of Microsoft


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00519" href="msg00519.html">[ale] Help Processing a Log File</a></strong>
<ul><li><em>From:</em> jonathan.glass at ibb.gatech.edu (Jonathan Glass)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00508" href="msg00508.html">[ale] Help Processing a Log File</a></strong>
<ul><li><em>From:</em> jonathan.glass at ibb.gatech.edu (Jonathan Glass)</li></ul></li>
<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="00513" href="msg00513.html">[ale] Help Processing a Log File</a></strong>
<ul><li><em>From:</em> jonathan.glass at ibb.gatech.edu (Jonathan Glass)</li></ul></li>
<li><strong><a name="00515" href="msg00515.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="00517" href="msg00517.html">[ale] Help Processing a Log File</a></strong>
<ul><li><em>From:</em> jonathan.glass at ibb.gatech.edu (Jonathan Glass)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00517.html">[ale] Help Processing a Log File</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00519.html">[ale] Help Processing a Log File</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00517.html">[ale] Help Processing a Log File</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00519.html">[ale] Help Processing a Log File</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00518"><strong>Date</strong></a></li>
<li><a href="threads.html#00518"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>