Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: Shell/Awk p...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 2204 of 2236
Post > Topic >>

Re: Shell/Awk processing question

by Maxwell Lol <nospam@[EMAIL PROTECTED] > Mar 26, 2008 at 11:36 AM

> > Since the retrieval process isn't very refined, I'm stuck with log
> > output that spans several minutes, but I'm only interested in the
> > output from the past minute (date +%H:%M --date "1 minute ago").
 I've
> > tried to write a small awk process that would go through the log file
> > every 5 minutes and capture the output from the past minute and write
> > it out to individual log files locally.


You can write a program that reads via tail -f filename, It can do
something special every time the timestamp increases to the next
rounded-off value.




 5 Posts in Topic:
Shell/Awk processing question
sf94061@[EMAIL PROTECTED]  2008-03-25 19:16:16 
Re: Shell/Awk processing question
Bill Marcum <marcumbil  2008-03-26 03:51:42 
Re: Shell/Awk processing question
Hermann Peifer <peifer  2008-03-26 05:12:19 
Re: Shell/Awk processing question
Maxwell Lol <nospam@[E  2008-03-26 11:36:55 
Re: Shell/Awk processing question
Hermann Peifer <peifer  2008-03-26 05:16:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 2:45:08 CDT 2008.