49.1.7 Agent Tracing

Agent trace events are used to visualize protocol state. They are always associated with nodes. An agent event has a name, which is a unique identifier of the agent. An agent is shown as a square with its name inside, and a line link the square to its associated node

Agent events are constructed using the following format:
a -t time -n agent name -s src
Because in ns, agents may be detached from nodes, an agent may be deleted in nam with:
a -t time -n agent name -s src -X
For example, the following nam trace line creates an agent named srm(5) associated with node 5 at time 0:

a -t 0.00000000000000000 -s 5 -n srm(5)



Tom Henderson 2011-11-05