Home > Windows Systems Management Tips > Windows Systems Management and Administration > Tail for Win32 freeware helps admins monitor log files in real time
WinComputing Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS MANAGEMENT AND ADMINISTRATION

Tail for Win32 freeware helps admins monitor log files in real time


Serdar Yegulalp, Contributor
02.02.2006
Rating: -3.00- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Many programs that run in Windows retain logs as plaintext files, since it's not practical to log aggressively to the system log.

For instance, Microsoft's own IIS typically writes its logs to delimited plaintext files because of the sheer volume of information generated. It's also possible to write IIS log files to a database, but this can be quite slow. Text files are usually easier to handle, more efficient and more widely used anyway.

Unix servers traditionally keep plaintext log files that can be browsed with any conventional text editor. Administrators who want to watch the progress of a log as new entries are written to it can use a utility called tail. This utility reads everything written to the bottom (or tail) of the file and prints it to a console window. Since there's no tail utility for Windows, Paul Perkins has written one -- Tail for Win32 -- and is sharing it for free.

Tail for Win32 can monitor several files at a time in real time, so an admin can watch several related logs in side-by-side windows. Files of any size can be examined; the program doesn't attempt to load the whole file into memory anyway, so you can start reading a log file that runs into the hundreds of megabytes without delays. You can also set the program to hunt for and display keywords. That way, anything that matches the keywords is displayed with a highlight. You can be alerted to matches via e-mail (your choice of SMTP or MAPI).

The program supports a plug-in architecture that allows a programmer to write custom handlers for given events. Should you want to expand or modify the program, the full source code is available.

About the author: Serdar Yegulalp is editor of the Windows Insight, (formerly the Windows Power Users Newsletter), a blog site devoted to hints, tips, tricks and news for users and administrators of Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Vista. He has more than 12 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

More information on this topic


Rate this Tip
To rate tips, you must be a member of SearchWinComputing.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Windows Systems and Network Management Tools and Techniques
Reducing the size of network backups in Windows
Monitor network bandwidth with CyberGauge
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Archiving information with New-Item in Windows PowerShell
More tips for preventing system startup issues in Windows XP
The new Microsoft System Center: What happened to SMS and MOM?
Application lifecycle management made simple with app virtualization
New Russinovich tool scans for open file references from command line
Identify file extension types with TrID

Windows Systems Management and Administration
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Windows scripting secrets for disk quota management
Optimizing NTFS file system performance
The new Microsoft System Center: What happened to SMS and MOM?
TeraCopy beefs up Windows file copy operations
New Russinovich tool scans for open file references from command line

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts