|
From: foren t. <for...@gm...> - 2005-08-30 07:25:22
|
Am Montag, 29. August 2005 15:34 schrieb Hans-Bernhard Broeker:
> foren titze wrote:
> > The below lines are an example of a so called gnuplotfile that was an
> > output from the apache2 webserver testprogramm "ab". its not possibe
> > for me to take this file as input for gnuplot, because gnuplot give
> > me errors by importing.
>
> You're using rather strange terms to explain what you're trying to do.
> gnuplot doesn't "import" data files --- it's a command-driven program,
> and some of the commands are given the name of a data file that they
> will read and display immediately, according to the settings made
> before. You really have to read the documentation to be able to work
> with gnuplot.
>
> > starttime seconds ctime dtime ttime wait
> > Thu Aug 25 13:06:40 2005 1124968000006645 1 57
> > 58 1 Thu Aug 25 13:06:40 2005 1124968000006770 1
> > 101 102 1
>
> [...]
>
> This should be easy enough to plot.
>
> set timefmt '%B %d %H:%M:%S %Y'
> set format x
> plot 'data' using 2:9
I used your commands but get an error again:
gnuplot> plot 'gnu_apache2.file' using 2:9
^
no data point found in specified file
Its a little bit complicated to use gnuplot, or?
ben
>
> will plot the ttime as a function of starttime. For more see 'help'
> about each of the commands used here.
|