tail

Best tail (log file visualization) freeware tool ?

I have many programs generating tons of logs in files. What freeware do you know, either for Windows or for multi-platforms (if they are in java for instance), able to tail (display the end of) those files ? A plus would be their capacity to display some line in a certain visual style depending on 'grep' criteria Quick update so far...

The best Tail GUI

What is the one single best GUI program for tailing log files you've come across? ...

Get last n lines of a file with Python, similar to tail

I'm writing a log file viewer for a web application and for that I want to paginate through the lines of the log file. The items in the file are line based with the newest item on the bottom. So I need a tail() method that can read n lines from the bottom and supports an offset. What I came up with looks like this: def tail(f, n, off...

Looking for a windows equivalent of the unix tail command

I'm looking for the equivalent of the unix 'tail' command that will allow me to watch the output of a log file while it is being written to. ...

Streaming log(txt) viewer

Anybody in the know of a viewer (or Notepad++ plugin) that can read txt files in a streaming way? I would like to see for example the last 10 lines of a txt file that gets appended continiously. ...

Binary "tail" a file

I would guess most people on this site are familiar with tail, if not - it provides a "follow" mode that as text is appended to the file tail will dump those characters out to the terminal. What I am looking for (and possibly to write myself if necessary) is a version of tail that works on binary files. Basically I have a wireless link ...

Stateful tail (only shows the new lines from the last execution)

I want to be able to see how many lines were added to a file since the last quering without reading the whole file again. Something like : ptail my_file | fgrep "[ERROR]" | wc -l A solution in simple Perl would be prefered, since I don't have an easy access to a compiler. ...

What's the Solaris equivalent to the BSD's 'tail -n100'?

I've looked this up a thousand times, and I always forget it, so, here for eternity: Solaris has a bit of an awkward syntax for tail. How do I do the equivalent of BSD's tail -nN? What I want are the last N lines from tail's input. ...

Unix shell: how to get the last lines of a file except the first 20?

Say I have a file with any number of lines, say, 125. I want to get all the lines except the first n, say, 20. So, I want lines 21-125. Is there a way to do this with with tail/head, or some other tool? ...

Breaking out of "tail -f" that's being read by a "while read" loop in HP-UX

Hi All, I'm trying to write a (sh -bourne shell) script that processes lines as they are written to a file. I'm attempting to do this by feeding the output of tail -f into a while read loop. This tactic seems to be proper based on my research in Google as well as this question dealing with a similar issue, but using bash. From what I...

Apply formatting to unix shell

I've been looking at some server logs using tail -f recently, and have thought that it'd be much easier to see some things if I could format the output. Really all I'm looking for is a way to perhaps colour certain words (determined by a regex), and perhaps remove certain words (again, determined by a regex). I know there's programs whi...

glTail Boot Errors

For all those who don't know what I am talking about, it's glTail from Fudgie. On my Mac at home, I have never been able to get glTail to work. I have gotten it to work on my work Mac. This is just a last resort, as the past 2 days have been nothing but seems like wasted time. I have the same libraries installed: Ruby 1.8.6, Gem 1.3.1,...

Java IO implementation of unix/linux "tail -f"

I'm wondering what techniques and/or library to use to implement the functionality of the linux command "tail -f ". I'm essentially looking for a drop in add-on/replacement for java.io.FileReader. Client code could look something like this: TailFileReader lft = new TailFileReader("application.log"); BufferedReader br = new BufferedRea...

How can I tail a remote file?

I am trying to find a good way to tail a file on a remote host. This is on an internal network of Linux machines. The requirements are: Must be well behaved (no extra process laying around, or continuing output) Cannot require someone's pet Perl module. Can be invoked through Perl. If possible, doesn't require a custom built script o...

How to customize a mutiline label on iPhone?

How to let a label show multi-line strings? e.g. The given string is @"HelloA\nHelloB\nHelloC\n". How to show it like: @"HelloA" @"HelloB" @"HelloC" ...

What is the tail truncation mark on iPhone?

I want to add some tail marks to several strings. Are there any marks like '\n' on iPhone? ...

Tail multiple files in CentOS

I want to tail multiple files (and follow them) in CentOS, I've tried this: tail -f file1 file2 file3 but the output is very unfriendly I've also had a look at multitail but can't find a CentOS version. What other choices do I have? ...

Tail -n 1000 in Java (Apache commons, etc)

I'm wondering if util code already exists to implement some/all of *NIX tail. I'd like to copy the last n lines of some file/reader to another file/reader, etc. ...

Java "tail -f" wrapper

I need to wrap the Unix command "tail -f" in a BufferedInputStream. I don't want to simulate or mimic tail as stated by this question. Rather, I want to use tail, waiting for it to give me a new line. ...

How to tail -f a file (or similar) for a specified interval?

I am working on adding some nagios alerts to our system -- some of which will monitoring the rate of certain events hitting the nginx/apache logs (or parsing values from those logs.) The way I've approached the problem so far is with a simple shell script tail -f'ing the log for 25 seconds or so to a temporary file, killing the process, ...