From 727b259a9bd5fb64ffcbb8509660d6f13c902cfc Mon Sep 17 00:00:00 2001 From: tkuchiki Date: Thu, 19 May 2016 15:38:56 +0900 Subject: [PATCH] update README --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 29f32c1..9f13594 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Flags: --method-label="method" method label --uri-label="uri" uri label --time-label="time" time label + --location=LOCATION location name --limit=5000 set an upper limit of the target uri --includes=PATTERN,... don't exclude uri matching PATTERN (comma separated) --excludes=PATTERN,... exclude uri matching PATTERN (comma separated) @@ -315,6 +316,27 @@ $ ./alp -f access2.log --start-time "2015-10-28T11:45:39+09:00" --end-time "2015 | 1 | 0.123 | 0.123 | 0.123 | 0.123 | 56.000 | 56.000 | 56.000 | 56.000 | GET | /foo/bar | | 1 | 0.234 | 0.234 | 0.234 | 0.234 | 34.000 | 34.000 | 34.000 | 34.000 | POST | /hoge/piyo | +-------+-------+-------+-------+-------+-----------+-----------+-----------+-----------+--------+------------+ + +# current date = 2015-10-28, local timezone: +09:00 +$ ./alp -f access2.log --start-time "11:45:39" --end-time "11:55:39" ++-------+-------+-------+-------+-------+-----------+-----------+-----------+-----------+--------+------------+ +| COUNT | MIN | MAX | SUM | AVG | MAX(BODY) | MIN(BODY) | SUM(BODY) | AVG(BODY) | METHOD | URI | ++-------+-------+-------+-------+-------+-----------+-----------+-----------+-----------+--------+------------+ +| 2 | 0.057 | 0.100 | 0.157 | 0.079 | 12.000 | 34.000 | 46.000 | 23.000 | POST | /foo/bar | +| 1 | 0.123 | 0.123 | 0.123 | 0.123 | 56.000 | 56.000 | 56.000 | 56.000 | GET | /foo/bar | +| 1 | 0.234 | 0.234 | 0.234 | 0.234 | 34.000 | 34.000 | 34.000 | 34.000 | POST | /hoge/piyo | ++-------+-------+-------+-------+-------+-----------+-----------+-----------+-----------+--------+------------+ + +# current date = 2015-10-28, local timezone: +00:00 +$ ./alp -f access2.log --start-time "11:45:39" --end-time "11:55:39" --location JST ++-------+-------+-------+-------+-------+-----------+-----------+-----------+-----------+--------+------------+ +| COUNT | MIN | MAX | SUM | AVG | MAX(BODY) | MIN(BODY) | SUM(BODY) | AVG(BODY) | METHOD | URI | ++-------+-------+-------+-------+-------+-----------+-----------+-----------+-----------+--------+------------+ +| 2 | 0.057 | 0.100 | 0.157 | 0.079 | 12.000 | 34.000 | 46.000 | 23.000 | POST | /foo/bar | +| 1 | 0.123 | 0.123 | 0.123 | 0.123 | 56.000 | 56.000 | 56.000 | 56.000 | GET | /foo/bar | +| 1 | 0.234 | 0.234 | 0.234 | 0.234 | 34.000 | 34.000 | 34.000 | 34.000 | POST | /hoge/piyo | ++-------+-------+-------+-------+-------+-----------+-----------+-----------+-----------+--------+------------+ + ``` #### Duration