windows大文件日志文件模式BareTailPro


 

 

主頁: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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM