GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LOGPRN (1)

NAME

logprn - merge Common-Log Format web logs based on time-stamps

CONTENTS

SYNOPSIS

logprn logfile idle-time[:max-wait] command

DESCRIPTION

The logprn program is designed to print new data that is appended to log files. It will wait until a specified amount of time has elapsed since the last write to the file before printing the data. It will print the data by pipeing it to a specified command. The command will be run by popen(3) so the usual shell commands will operate (whether this is a bug or a feature is a matter of opinion).

OPTIONS

logfile
  specifies a file to read data from. It should be a regular file not a pipe, device, or anything else.
idle-time
max-wait
command
 

EXIT STATUS

0 Never happens, this program will run forever.

1 Bad command-line parameters or couldn’t stat the log file on startup - couldn’t start the program.

2 File disappeared or became unreadable at run-time.

3 Can’t run the specified command.

AUTHOR

This program, its manual page, and the Debian package were written by Russell Coker <russell@coker.com.au>.

BUGS

Uses popen (3) but I consider this a feature not a bug.

SEE ALSO

popen(3)
Search for    or go to Top of page |  Section 1 |  Main Index


Russell Coker LOGPRN (1) 0.06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.