[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] gnuplot xgraph etc
awk script again !!!
you can check whether a packet gets queued at a router and then increment
a counter. a rough sketch is as follows:
x.awk
-------
BEGIN {count=0}
$1=='+' {count ++}
END {print count}
-------
debo
On Wed, 19 Jul 2000, Will Shaver wrote:
> Debojyoti Dutta wrote:
> >
> > Write a few simple awk scripts and you can generate almost anything from
> > the trace files.
> >
> > Debo
>
> Yes, I'm looking into that. Is there an easy way to report the number of
> packets in a particular router's queue at a particular time?
> -Will
>
>
> >
> > On Wed, 19 Jul 2000, Will Shaver wrote:
> >
> > > Are there any tutorials online specifically for turning a tracefile into
> > > a graph? I know that there are scripts located in ~/ns/bin for this, but
> > > can't figure out how to use them. I've been able to use raw2gp to create
> > > a file, but haven't been able to use the file to generate a graph. (It
> > > has some strange stuff after a " at the top that gnuplot doesn't like.)
> > >
> > > _Will
> > >
>