User Tools

Site Tools


windows:easilymonitorizelogfiles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows:easilymonitorizelogfiles [2012/03/13 10:40] rlunarowindows:easilymonitorizelogfiles [2022/12/02 22:02] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Easily Monitorize Log Files ======
 +
 +In Unix, you can open a terminal server and type ''tail -f filename'' to monitor a log file and see how it grows. However, this is no easy to do in Windows. 
 +
 +But wait!!! There is [[http://www.cygwin.com|cygwin]] that comes with a tail command. Cygwin can be installed under "my documents" folder if the rights of your computer are limited. 
 +
 +And cygwin comes with a tail command. 
 +
 +But there is more. If you can put commands into your "c:\Documents and Settings\username\SendTo" folder, there is something fantastic you can do. 
 +
 +In this folder, create a text file called ''monitorize.bat'' with this content: 
 +
 +<code bat>
 +@echo off
 +
 +start "Cmd" "%windir%\system32\cmd.exe" /k tail -f %1 %2 %3 %4 %5 %6
 +</code>
 +
 +With this tool in quiver, when you see a file you want to keep an eye on it, you just have to right-click on it and select "Send to -> monitorize". A new command line window will be opened with a tail executed monitorizing this file. 
 +
 +**Related topics**
 +
 +[[windows:abrirsendtoenwindows7|How to open the "send To" folder in windows 7]]
  
windows/easilymonitorizelogfiles.txt · Last modified: 2022/12/02 22:02 by 127.0.0.1