Hello, I love httpd2 and I really like apachebench but using the gnuplot output option (-g) gave me this:
starttime seconds ctime dtime ttime wait Thu Aug 29 12:29:31 200 1030620571362758 0 54 54 0 It's truncating the year. Now according to http://apr.apache.org/docs/apr/group__APR__Time.html#a15 "Unlike ANSI/ISO C ctime(), apr_ctime() does not include a \n", so the code and comment in ab.c are wrong, hence my attached patch to remove them. Leon FWIW gnuplot can't actually read the file (it can't read the header or the starttime), but i'm parsing it with Perl anyway -- Leon Brocard.............................http://www.astray.com/ scribot.................................http://www.scribot.com/ ... Todays subliminal message is " "
--- ab.c.orig 2002-08-29 12:28:53.000000000 +0100 +++ ab.c 2002-08-29 12:29:14.000000000 +0100 @@ -953,9 +953,6 @@ sttime = stats[i].starttime; (void) apr_ctime(tmstring, sttime); - tmstring[strlen(tmstring) - 1] = '\0'; /* ctime returns a - * string with a - * trailing newline */ fprintf(out, "%s\t%" APR_TIME_T_FMT "\t%" APR_TIME_T_FMT "\t%" APR_TIME_T_FMT "\t%" APR_TIME_T_FMT "\t%" APR_TIME_T_FMT "\n", tmstring, sttime,