Filetail 1.0

Filetail 1.0 Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 448
  • Released: Jun 6, 2007

Filetail 1.0 Description

This script is a module that allows for reading lines from a continuously-growing file (such as a system log).

It handles log files that get rotated/trucated out from under us.

This is useful for writing all sorts of log-monitoring scripts. As given, it only provides a line-by-line interface (perfectly reasonable if all you're doing is reading the output of syslog); one could imagine extending it to provide more of the interface of a file object (read(), readlines(), etc.).

You may also want to tweak the sleep interval calculations if the given algorithm doesn't work for you. The goal is to figure out how long you need to sleep before getting some input; ideally, you want to get to the state where you sleep, wake up, and have exactly one line waiting for you, then sleep again.

If you sleep too long, you delay getting the input to your caller, but if you sleep too short, you waste your time sleeping and checking for input multiple times.

Filetail Bookmark

Hyperlink code:
Hyperlink for Forum code:

Filetail 1.0 Script Download Notice

Top 4 Download periodically updates information of Filetail 1.0 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Filetail 1.0 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Cache file contents to speed access

... class caches the contents of a set of files and avoids reading files repeatedly from disk by holding onto the contents of each file as a list of strings.Some tasks require reading from a set of files in a random manner. Opening and reading files is a time consuming operation even when the ...
Python

Iterating through large file like objects

This function provides a simple iterator for the lines of a file-like object. (It also provides a flag for removing/retaining ... that I wanted to read-in a very large file-like object (say a GB or two) line by ... just begging to be used...In Python 2.3, while file objects now support this sort of single-line iteration, ...
Python

php File System

php File System allows to share a file structure over the web, even in a restricted php environment -like most free providers have. All files and folders structure are stored in the database, ... according to a per user entitlement mechanism. Each file can be downloaded, checked-out, checked back in depending ... work on any platform running php, even with file writting restrictions, as the server side file system ...

Alerttail

... when "some text" has been written to a file.This software tails a file and when a line matches some text pattern ... list of actions defined on it's own configuration file.Imagine you want to be warned when some text is written to a log file, you could just configure alerttail asking it to ...

Ajax File Manager

This is a web/php/javascript/ajax file manager that allows create, delete and rename files and directories located in a server. The xajax library is used.This script is very easy to install, use and customize to suit your needs. ...