logparse: add --tail mode
This commit is contained in:
parent
60c0ab155d
commit
2247ce22ed
@ -12,15 +12,17 @@ The config file allows for changing default output format, add additional select
|
||||
## Usage
|
||||
|
||||
```text
|
||||
Usage: /usr/bin/logparse [-c | -C | -s "selectors"] [-F <config_file>] filename
|
||||
Usage: /usr/bin/logparse [-c | -C | -s "selectors"] [-F <config_file>] [-t [NUM] [-f]] filename
|
||||
Options:
|
||||
-c, --common Apache Common Log Format (default)
|
||||
-C, --combined Apache Combined Log Format
|
||||
-s, --selector Use a space separated list of selectors
|
||||
-F, --config-file Use a configuration file
|
||||
-t, --tail [NUM] Output the last NUM lines from log file (default: 15)
|
||||
-f, --follow Continuously monitor log file for new entries
|
||||
-h, --help Show this help message and exit
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
Example usage and descriptions is available on the wiki https://wiki.tnonline.net/w/Linux/logparse
|
||||
Example usage and descriptions is available on the wiki https://wiki.tnonline.net/w/Linux/logparse
|
||||
|
Loading…
x
Reference in New Issue
Block a user