Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xpl2gpl(1) [debian man page]

XPL2GPL(1)						      General Commands Manual							XPL2GPL(1)

NAME
xpl2gpl - Convert tcptrace-style xplot input to gnuplot input. SYNOPSIS
xpl2gpl [-s] <file_name> DESCRIPTION
xpl2gpl is a utility that converters tcptrace-style xplot input to gnuplot input. This converter gives a nearly perfect gnuplot reproduc- tion of the corresponding xplot graph. OPTIONS
-s Seperate files. If you wish to plot only some data from the xpl file, you may use the -s option, which generates a bunch of data- files filtered based on the color and plotting style. EXAMPLES
xpl2gpl foo.xpl This would produce files by the names "foo.gpl", "foo.datasets" and "foo.labels". Load the file "file_name.gpl" in gnuplot and it should give you the plot. NOTES
xpl2gpl is provided for convenience, as gnuplot is more commonly installed than the xplot package that tcptrace typically expects, and because xplot has not always been available in Debian. If possible, you should consider installing the xplot-xplot.org package and using it instead of using xpl2gpl. AUTHOR
Avinash Lakhiani (no known email address) This manual page was written by Noah Meyerhans <noahm@debian.org> for the Debian project and may be used freely and without restriction by others. SEE ALSO
tcptrace(1) Aug 8, 2009 XPL2GPL(1)

Check Out this Related Man Page

TCPDUMP2XPLOT(1)					    BSD General Commands Manual 					  TCPDUMP2XPLOT(1)

NAME
tcpdump2xplot -- converts tcpdump output to xplot input for analysis SYNOPSIS
tcpdump2xplot [-?] [-c] [-help] [-list[filename]] [-plot[filename]] [-q] [-r] [-s] [-t] [-w] DESCRIPTION
tcpdump2xplot takes the output of tcpdump -tt -S ... and plots it in terms of sequence-number versus time, with other info displayed (e.g., the TCP window, acks, etc.). OPTIONS
-?, -help prints a help message. -c, ``cumulative'', adds all the data coming from a server. -list[filename] prints the list of generated plot files to filename. -plot[filename] plots the packets from filename. The filename may be built out of a hostname and port number, e.g.: abc.def.com:1234. The default is fromhost:fromport-tohost:toport.xplot where fromhost, fromport, thost, toport are extracted as conversations from the tcpdump data. -q means "quiet" --- no visible output. -r means use relative sequence numbers. -s means break up conversations on TCP syns. -t convert time to decimal number of seconds. -w plots the TCP window. EXAMPLES
SEE ALSO
tcpdump(1), xplot.org(1) BUGS
tcpdump2xplot may not deal properly with output from tcpdump that is not TCP. Either filter to only tcp or be careful. HISTORY
The tcpdump2xplot has been contributed by xplot.org users. Thanks to Garret Wollman for contributing the original tcpdump2xplot.pl script and thanks to Eric Prud'hommeaux (@ w3.org) for making <http://www.w3.org/pub/WWW/config/tcpdump2xplot.pl> available, a much improved ver- sion. The one included here is a slightly improved version of Eric's. BSD
27 January 1999 BSD
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

xargs and gnuplot

Hi All, Seems I have an xargs stdin problem that I don't understand. I have a script (call it myscript.sh) that takes the names of one or more file(s) specified on the command line and creates a single gnuplot command file containing multiple records, one for each specified file. Each of... (9 Replies)
Discussion started by: paulianna2002
9 Replies

2. UNIX for Dummies Questions & Answers

Fitting data in gnuplot with xyerrorbars

I was looking at the examples that show how to fit data using gnuplot (ex: gnuplot / misc (2E)) but I can't find a place that shows what to do if I have ranges for the x and y error bars. I tried the common sense: gnuplot> fit f(x) "data.txt" using 3:6:4:5:7:8 via a,b ... (8 Replies)
Discussion started by: cosmologist
8 Replies

3. Shell Programming and Scripting

Passing gnuplot variables to shell script

Hi, I need to pass a gnuplot value to a shell script. I have a main shell script (Main.sh) that has a bunch of gnuplot commands. Main.sh calls another gnuplot script (Child.gnu). A part of the code in Child.gnu is as follows: sp '</data/src/scripts/results/plot_data.sh $col' u (A):2:3 w pm3d... (8 Replies)
Discussion started by: annazpereira
8 Replies

4. UNIX for Dummies Questions & Answers

Tab and Enter

Do Tab or Enter behave like a command in some cases? For example, I had been trying to plot with gnuplot by usinf shell script like command inside: cat plot.gnu gives : plot 'datafile1' , \ 'datafile2' Now gnuplot doesn't recognize the newline command "\" unless I use "enter" in the... (12 Replies)
Discussion started by: hbar
12 Replies

5. Shell Programming and Scripting

ggnuplot formatting

hello, I'm building a chart using gnuplot. it outputs a file just fine, but the data I'm plotting looks like: 10/16/11-18:14:23 5:5:4 0 10/16/11-22:48:43 5:5:4 0 10/17/11-03:23:01 5:5:4 1 10/17/11-07:57:20 5:5:4 63 10/17/11-12:31:42 5:5:4 1 10/17/11-17:06:02 5:5:4 1 10/17/11-21:40:21... (12 Replies)
Discussion started by: kag3ythree
12 Replies

6. Shell Programming and Scripting

gnuplot horizontal

simple question I thought. How do I setup a chart in gnuplot that draws a "upper threshold" for a given set of data. I have the graph charting fine. I have peaks and valleys. I can either setup a number that I want to be the "upper threshold". a horizontal line based either in the data,... (5 Replies)
Discussion started by: kag3ythree
5 Replies

7. UNIX for Dummies Questions & Answers

GNUPLOT problem

Hi, Im trying to plot a time series with gnuplot. this is my script set xdata time set yrange set timefmt "%H" set xrange set format x "%H:%M:%S" plot "time_vs_times.txt" using 1:2 title 'Interarrival time' with points lw 2 and this is my data 11:14:18 5 11:14:19 10... (10 Replies)
Discussion started by: jamie_123
10 Replies

8. Shell Programming and Scripting

Pass shell variable to gnuplot

Hi I am plotting a series of CDFs using gnuplot using plot "data" u 1:(1./x.) smooth cumulative I am doing this over many files and I need to tune the x value to the number of lines that meets a particular condition. Is it possible to get the line count from shell using cat file | grep... (7 Replies)
Discussion started by: jamie_123
7 Replies

9. Shell Programming and Scripting

gnuplot set key issue

Hi I have a plotting function like this- plot '../processing_old/time0.txt' using 1:6 title "1.6" with boxes fs solid 0.05 ls 5,\ 'time0.txt' using 1:6 title "1.7" with boxes fs solid 0.05 ls 6,\ '../processing_new/time0.txt' using 1:6 title "2.0" with boxes fs solid... (8 Replies)
Discussion started by: jamie_123
8 Replies

10. Shell Programming and Scripting

Read in Table as a matrix

Dear forum users, i'm trying to read a table with 40x122 data in a array. Following this, i'd plot each rows again the header of the file in gnuplot. i was thinking for something like that #!/bin/bash # reads from the $ips file and assigns to $MYARRAY #IFS =";" split the line after the... (6 Replies)
Discussion started by: servuskelb
6 Replies

11. Shell Programming and Scripting

Generating graphs for many number of files

Hi, I have a series of data files for which I wish to plot using "splot". Say, the files names are like: 950_data,951_data,952_data,......1000_data. For one file , say to plot 950_data, i write following lines into a single file and load it in the gnuplot as : gnuplot> load 'plot' ... (6 Replies)
Discussion started by: begin_shell
6 Replies

12. Shell Programming and Scripting

Grep final set of parameters from fit.log gnuplot file

I would like to grep the final set of fit parameters from a gnuplot log file to form columns that look like this. a_1001 b_1001 x_1001 a_1002 b_1002 x_1002 a_1003 b_1003 x_1003 . . . . . . . . . a_1250 b_1250 c_1250 At... (8 Replies)
Discussion started by: kayak
8 Replies

13. Shell Programming and Scripting

Problem creating graph with gnuplot with time on x-axis

Let me start by saying I'm new to gnuplot and not very good at unix at all.. Anyway, I'm each minute measuring temperature and humidity and saves the last 60 readings along with time in a textfile, values_minute. The contents of the file is formatted like this: time temperature humidity ... (8 Replies)
Discussion started by: hakro807
8 Replies

14. UNIX for Dummies Questions & Answers

File cannot execute

Hi everyone, I'm trying to run a plotting tool called gnuplot. So there is a /import/tools/exe directory which has a 'gnuplot' file and a '.gnu_tool_wrapper' file. When I type 'gnuplot' in this directory, it's supposed to go through the wrapper and run... (10 Replies)
Discussion started by: coldler
10 Replies

15. Shell Programming and Scripting

GNUPLOTING issue

Need assistance in troubleshooting I have written a script using GNUPLOT . It works great when i run manually but when i put in crontab it give me library file missing. Any inputs are highly appreciated. #!/local/tools/monitoring/gnuplot-new/bin/gnuplot set terminal png size 1024,768... (14 Replies)
Discussion started by: ajayram_arya
14 Replies