您的位置:首页 > 大数据 > 人工智能

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

2017-04-10 20:32 204 查看
来自:  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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: