From e13ed6cf625e5066eada7a433695d65950abe354 Mon Sep 17 00:00:00 2001 From: Babak Farrokhi Date: Sun, 13 Sep 2015 16:27:47 +0430 Subject: [PATCH] - Improve graph title --- ifstatd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ifstatd.c b/ifstatd.c index e146512..1aee170 100644 --- a/ifstatd.c +++ b/ifstatd.c @@ -113,7 +113,7 @@ int config(char *iface) { printf( "graph_order rbytes obytes\n" - "graph_title %s Interface (HighRes)\n" + "graph_title %s Interface (%d seconds sampling)\n" "graph_category network\n" "graph_vlabel bits per second\n" "update_rate %d\n" @@ -129,7 +129,7 @@ int config(char *iface) "obytes.cdef obytes,8,*\n" "obytes.min 0\n" "obytes.draw AREA\n" - ,iface,RESOLUTION,RESOLUTION + ,iface,RESOLUTION,RESOLUTION,RESOLUTION ); return(0);