mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 23:14:46 +00:00
d220106092
It's sometimes very useful to be able to monitor a production status in real time by comparing servers behaviours. Now halog is able to do this when called with "-srv". It reports various fields for each server found in a log, including statuses, total reqs, valid reqs, percent of valid reqs, average connection time, average response time.
15 lines
463 B
Makefile
15 lines
463 B
Makefile
EBTREE_DIR = ../../ebtree
|
|
INCLUDE = -I../../include -I$(EBTREE_DIR)
|
|
OPTIMIZE = -O3
|
|
|
|
OBJS = halog halog64
|
|
|
|
halog: halog.c fgets2.c
|
|
$(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $(EBTREE_DIR)/ebmbtree.c $(EBTREE_DIR)/ebsttree.c $^
|
|
|
|
halog64: halog.c fgets2-64.c
|
|
$(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $(EBTREE_DIR)/ebmbtree.c $(EBTREE_DIR)/ebsttree.c $^
|
|
|
|
clean:
|
|
rm -vf $(OBJS)
|