Saturday, May 7, 2011

Redirect Output Information into a File

You can redirect output information into a file and open it with any editor with this command (example):

./waf --run scratch/myfirst > log.out 2>&1

The log data is one of the ways to harness data from ns-3 simulation and only provide least amount of information.

The other ways to harness data from ns-3 simulation is through trace file data and topology animation.

The topology animation will confirms the topology visually and all the data will be in trace file data.