|
From: foren t. <for...@gm...> - 2005-08-29 06:19:35
|
Hello users, this is my first posting here and I need yout help. 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. 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 Thu Aug 25 13:06:40 2005 1124968000006718 1 104 105 1 Thu Aug 25 13:06:40 2005 1124968000006915 1 120 121 2 Thu Aug 25 13:06:40 2005 1124968000006745 1 124 125 2 Thu Aug 25 13:06:40 2005 1124968000006988 1 128 129 3 Thu Aug 25 13:06:40 2005 1124968000006793 1 131 132 3 Thu Aug 25 13:06:40 2005 1124968000006962 1 133 134 3 Thu Aug 25 13:06:40 2005 1124968000007011 1 135 136 3 Thu Aug 25 13:06:40 2005 1124968000007057 1 138 139 4 Thu Aug 25 13:06:40 2005 1124968000006939 1 140 141 4 Thu Aug 25 13:06:40 2005 1124968000007035 1 162 163 4 Thu Aug 25 13:06:40 2005 1124968000007081 1 164 165 4 Thu Aug 25 13:06:40 2005 1124968000007104 1 167 168 4 Thu Aug 25 13:06:40 2005 1124968000007129 1 169 170 5 Thu Aug 25 13:06:40 2005 1124968000007152 1 171 172 5 Thu Aug 25 13:06:40 2005 1124968000007176 1 174 175 5 Thu Aug 25 13:06:40 2005 1124968000007200 1 178 179 5 Thu Aug 25 13:06:40 2005 1124968000064800 0 150 150 56 Thu Aug 25 13:06:40 2005 1124968000007404 1 214 215 7 Thu Aug 25 13:06:40 2005 1124968000007298 1 254 255 12 Thu Aug 25 13:06:40 2005 1124968000007609 1 256 257 12 is there anybody who can help me? thx ben |
|
From: <as...@gm...> - 2005-08-29 13:21:13
|
Hi! I'm not an expert, but probably it helps :=20 1) Add a # to the title line (convert it to a comment line).=20 2) Try to use the same whitespace as separator, I mean, all tabs or all=20 spaces, but it is not mandatory. For example, the first and second line of= =20 your file would be (using spaces as delimiters) : #starttime seconds ctime dtime ttime wait Thu Aug 25 13:06:40 2005 1124968000006645 1 57 58 1 ... and observe that, for example, 57 is in the column 8 Cheers! Hernan --=20 ------------------------------------------------ Lic. Hernan Gonzalo Asorey Instituto Balseiro - U. Nac. Cuyo Av. Exequiel Bustillo N=B0 9500 (8400) San Carlos de Bariloche Pcia. de R=EDo Negro - Argentina --------------------------------------------- as...@ib... On 8/29/05, foren titze <for...@gm...> wrote: >=20 > Hello users, >=20 > this is my first posting here and I need yout help. > The below lines are an example of a so called gnuplotfile that was an=20 > output from the apache2 webserver testprogramm "ab". > its not possibe for me to take this file as input for gnuplot, because=20 > gnuplot give me errors by importing. >=20 > 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 > Thu Aug 25 13:06:40 2005 1124968000006718 1 104 105 1 > Thu Aug 25 13:06:40 2005 1124968000006915 1 120 121 2 > Thu Aug 25 13:06:40 2005 1124968000006745 1 124 125 2 > Thu Aug 25 13:06:40 2005 1124968000006988 1 128 129 3 > Thu Aug 25 13:06:40 2005 1124968000006793 1 131 132 3 > Thu Aug 25 13:06:40 2005 1124968000006962 1 133 134 3 > Thu Aug 25 13:06:40 2005 1124968000007011 1 135 136 3 > Thu Aug 25 13:06:40 2005 1124968000007057 1 138 139 4 > Thu Aug 25 13:06:40 2005 1124968000006939 1 140 141 4 > Thu Aug 25 13:06:40 2005 1124968000007035 1 162 163 4 > Thu Aug 25 13:06:40 2005 1124968000007081 1 164 165 4 > Thu Aug 25 13:06:40 2005 1124968000007104 1 167 168 4 > Thu Aug 25 13:06:40 2005 1124968000007129 1 169 170 5 > Thu Aug 25 13:06:40 2005 1124968000007152 1 171 172 5 > Thu Aug 25 13:06:40 2005 1124968000007176 1 174 175 5 > Thu Aug 25 13:06:40 2005 1124968000007200 1 178 179 5 > Thu Aug 25 13:06:40 2005 1124968000064800 0 150 150 56 > Thu Aug 25 13:06:40 2005 1124968000007404 1 214 215 7 > Thu Aug 25 13:06:40 2005 1124968000007298 1 254 255 12 > Thu Aug 25 13:06:40 2005 1124968000007609 1 256 257 12 >=20 >=20 > is there anybody who can help me? >=20 > thx ben >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle=20 > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Hans-Bernhard B. <br...@ph...> - 2005-08-29 13:32:54
|
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 will plot the ttime as a function of starttime. For more see 'help' about each of the commands used here. |
|
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.
|
|
From: Tammo H. <Pu...@Ta...> - 2005-08-30 16:23:25
|
Since columns 1-5 contain the same data in each colums, their
content is not really intersting to plot. If you want to plot colums 6-
10 use the following syntax:
plot 'gnu_apache2.file' using x:y
where you replace x with the respective column number you want
to have ploted in the x-axis, and replace y with the respective
column number you want to have ploted on the y-axis, for example
to plot column 9 vs 6 use
plot 'gnu_apache2.file' using 6:9
I hope this helps,
Tammo
On 30 Aug 2005 at 9:25, foren titze wrote:
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.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gnuplot-info mailing list
Gnu...@li...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|