论坛首页 综合技术版

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

浏览 2076 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
最后更新时间:2007-03-06 关键字: tail

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.javaeye.com

 

  • tail.zip (20.7 KB)
  • 描述: tail工具,还提供源代码
  • 下载次数: 189
   
最后更新时间:2007-03-01
这个就蛮好的,http://unxutils.sourceforge.net/
   
0 请登录后投票
最后更新时间:2007-03-01
hiver 写道

好像不能下载,能传一个上来么?
   
0 请登录后投票
最后更新时间:2007-03-02
可以下载,下载地址是:http://sourceforge.net/project/showfiles.php?group_id=9328

这个UnxUtils太爽了,以后在windows下就方便多了!
   
0 请登录后投票
论坛首页 综合技术版

跳转论坛:
JavaEye推荐