I have an application which generates logs in append mode, but the logs are not timestamped.
Is it possible to use tail -f with some option, or a perl script to monitor writes to this file and prefix them with a timestamp?
Given that I am running Windows without Cygwin, could I avoid using bash or any other Unix shell?
...
Can anyone suggest a good tool for helping us decide on some long tail terms for using as google adwords?
All the best
...
We're able to tail the traffic on a server that we host :
...
+1287737841.266952 ...
+1287737841.267117 ...
+1287737841.267136 ...
+1287737841.278288 ...
+1287737841.278310 ...
+1287737841.278321 ...
+1287737841.278331 ...
+1287737841.278341 ...
...
As you can see they include timestamps, down to the micro-second!
I just want to be ab...
http://stackoverflow.com/questions/557844/java-io-implementation-of-unix-linux-tail-f has a similar problem; but the solution is not viable for log files that generate about 50-100 lines per second.
I have an algorithm that emulates the tail functionality in Linux. For example,
File _logFile = new File("/tmp/myFile.txt");
long _filePtr...