一个Windows下的tail工具(即时查看日志)

来源:互联网 发布:抢小米 软件 编辑:程序博客网 时间:2024/05/10 22:36

来自:  http://netbus.iteye.com/blog/56769


Linux操作系统下tail命令非常好用,可以即时跟踪tomcat输出的日志。

很遗憾Windows平台下没有自带类似的小工具(图形化真的能代替一切?)。不过,经过我的努力,终于在网上找到了Windows版本下的tail工具(见附件)。

使用方法:在命令行下输入 tail log文件名

文件帮助如下:

tail 1.0.0.1 created by Jorgen Bosman
Usage: tail [options] file
Options:
  -[x]f : Follow the file and display new lines as they are written to the file
          Optionally display the x last lines first (default=10)
  -n x  : Displays the last x lines of the file
  -s x  : Sleeps x miliseconds between 2 read attempts for -f option

作者的个人主页:http://users.pandora.be/jbosman/

文件下载见附件

如果没有特别注明,本Blog文章岂为原创。

转贴请注明出处:    http://netbus.iteye.com


0 0
原创粉丝点击