Afficher un message
Vieux 26/03/2008, 17h36   #5
Maxwell Lol
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Shell/Awk processing question


> > 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.


  Réponse avec citation
 
Page generated in 0,04340 seconds with 9 queries