Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuchiki committed May 19, 2016
1 parent eb9637e commit 727b259
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 727b259

Please sign in to comment.