summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f8a811)
raw | patch | inline | side by side (parent: 7f8a811)
author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Wed, 9 Mar 2016 10:39:22 +0000 (16:39 +0600) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Mon, 10 Oct 2016 04:33:50 +0000 (10:33 +0600) |
src/nginx.c | patch | blob | history |
diff --git a/src/nginx.c b/src/nginx.c
index 7283488f5de49189c5d6c5ac9b3df0ee31be40f1..c03c67ea5a61613e04c858877e95c3ef2610200f 100644 (file)
--- a/src/nginx.c
+++ b/src/nginx.c
/*
* Active connections: 291
* server accepts handled requests
- * 16630948 16630948 31070465
+ * 101059015 100422216 347910649
* Reading: 6 Writing: 179 Waiting: 106
*/
for (int i = 0; i < lines_num; i++)
{
submit ("connections", "accepted", atoll (fields[0]));
submit ("connections", "handled", atoll (fields[1]));
+ submit ("connections", "failed", (atoll(fields[0]) - atoll (fields[1])));
submit ("nginx_requests", NULL, atoll (fields[2]));
}
}