windows大文件日志文件模式BareTailPro - youxin

时间:2024-03-09 19:04:01

windows大文件日志文件模式BareTailPro

2020-05-12 00:23  youxin  阅读(1101)  评论(0编辑  收藏  举报

 

 

主页:http://www.baremetalsoft.com/baretail/index.php

 

  • 实时文件查看
  • tail命令模式,自动滚动
  • 支持2g以上大文件
  • 自动滚动
  • 彩色监控
  • 多文件监控
  • 支持unicode和UTF-8
  • 支持Win32、Unix、IIS日志
  • 单文件,无需安装

 

 

 

baretail没有命令行,

 

tail -f xxx.log即可。
但是Windows并没有自带这个命令,不过从网上可以找到tail.zip (这个支持utf8)
实测可以将其解压放在C:\Windows\System32下,这样就可以使用tail -f 持续监控某日志信息了

 

Windows下的tail一二三:tail、BareTail、WinTail
在Windows下查看输了的日志log的文件,使用UE或Edit plus可以知道文件改变了,但是光标都会回到文件头部去,很不方便,用记事本就更不用说了。
如何才能在Windows下象在Linux使用tail一样方便地来查看日志呢?
1、Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
http://download.microsoft.com/download/8/e/c/8ec3a7d8-05b4-440a-a71e-ca3ee25fe057/rktools.exe
但是这个下载后的文件却是要求Windows XP系统之类的,我用的是Win2K,晕,当然有方法来绕过它了。
还是先下载文件,用WinRAR可以解开它,成三个文件:rktools.msi、rktools_p.cab和rktools_s.cab
rktools.msi安装包是所有的工具集的安装文件,用7-Zip直接解压打开就可以看到里面的文件了,比如解压到C:/DOS目录下
rktools_p.cab和rktools_s.cab文件里包含一个rktools.chm的使用帮助文件,同样用7-Zip来打开,用WinRAR或者WinCAB也可以打开
使用:
C:/DOS>tail/? 一成不变的方法,/?来查看使用帮助
usage: TAIL [switches] [filename]*
   switches: [-?] display this message
             [-n] display last n lines of each file (default 10)
             [-f filename] keep checking filename for new lines
示例:
tail xxx.log 查看文件,默认显示最后的10行
tail -100 xxx.log 显示最后的100行
tail -f xxx.log 一直查看文件的变化。
 
Kit Tools里还包含了很多有用的工具,其它的不进行介绍了,自已去挖掘:)
 
2、BareTail : A free real-time log file monitoring tool,有Free Version
http://www.baremetalsoft.com/baretail/index.php
也有专业版的BareTailPro,要收费的 : http://www.baremetalsoft.com/baretailpro/index.php
 
3、WinTail : Hoo的商业WinTail软件,Hoo WinTail is a real-time log monitor and viewer for Windows like the UNIX tail -f utility.
http://www.hootech.com/WinTail/
建议用BareTail或Windows的tail.exe,基本上可以满足我们的日常需要。
附上Windows Server 2003 Resource Kit Tools的tail.exe下载,免得去下载安装或解压了。
下载:tail.exe
————————————————
 原文链接:https://blog.csdn.net/yulimin/article/details/1685593