Is there some convenient alternative to this on Windows? I always miss this away from Linux. And no I don't consider Cygwin or some other bash port to be "convenient". :)
Either a small app that'll do it from the command line or will have it open in a window. I need to be able to essentially pause it too, which won't affect the log file, but will allow me to scroll up through the buffer.
BareTail has a great balance of features and light weight. The highlighting has saved me countless hours.
Options:
unxtools includes a port of
tail
, including-f
.PowerShell's
get-content
includes an extra option-wait
when using the file system which performs the same function (seehelp filesystem
for this and other cmdlet extensions from the filesystem provider).Using PowerShell:
I'd recommend the GnuWin32 port of
tail
. GnuWin32 is similar to Cygwin in that it's a Windows port of Unix tools but it is completely different in intent.Instead of trying to turn your Windows system in to a Unix Workstation, each GnuWin32 binary is compiled so it can run as an independent tool. There are separate downloads so you can just download the tools you want. (This makes GnuWin32 preferable to the MinGW ports as well, as the MinGW utilities require all the MinGW libraries to be in place.)
LogExpert is the one FMPOV: tabs, local file tail, but also accross network using SFTP (SSH) or CIFS (UNC-based), versatile highlighters and more
mTail - http://ophilipp.free.fr/op_tail.htm
It's an alternative to tail -f combined with grep.
Take a look at the excellent TraceTool. Amongst many other features, it supports tail with pause/resume.
Another great Tail utility is Tail for Win32: http://tailforwin32.sourceforge.net/ It is pretty fast and can be used to show you real-time tail on a file which is very convenient when troubleshooting web logs or security logs in production. I also used it to determine what user activity is like at any given time on web servers.
I would recommend PowerShell Community extension.
Get-FileTail -f FileName
I think this is the best combination of Unix tail flair on Windows.
SnakeTail is a Windows tail program that can monitor and search log files.
Log Expert is another good alternative.
Here is a good list of other alternatives