[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: colouring web traffic



The fid_ of every http connection is set to a unique value, starting from
0. So you can set appropriate colors for different connections (see
tcl/webcache/http-agent.tcl). If you don't want it to start from 0, do the
something like this in your script: 

Http set fid_ 12345

Currently there is no support if you want to distinguish requests from the
same client to different objects.

- Haobo

On Thu, 11 Nov 1999, Peter Lees - SE wrote:

> g'day,
> 
> i'm trying to find a way of assigning different colours to the various 
> packet types in a web-cache simulation i'm doing.
> 
> i'm using Http/Client, Http/Server and Http/Cache/TTL to build the
> model, and i'd like to be able to differentiate between GET requests,
> and the 3 different objects i'm request (page & 2 embedded object).
> 
> has anyone done this before and/or can give me some pointers?  getting
> colour working with ns and nam is  a little difficult to understand...
> 
> 
> thanks
> 
> p
> 
> --
> Peter Lees * Cluster Technology Consultant * Sun Microsystems Asia-Pacific
> [email protected]   *   tel: +61 2 9466 9441    *    fax: +61 2 9466 9415
> 
>