jTrana is a Java-based NS2 wireless trace analyzer. You can use it to analyse the NS2 wireless simulation traces.
Here are some key features of "jTrana":
· Network related: Overall information, Energy remained for the whole network, Packet statistics.
· Nodes Related: Current selected node info, packets id, throughput, energy, sequence number, delay, RTT, Movement
· Custom function: Get the data from the MySQL database using SQL-like script and get the results.
· Java Environment (JDK 1.4 or above)
Create a user for using MySQL.
Run the application from the decompressed folds: run.bat
Input the MySQL user name and password to create tables to analyse the trace
To use the custom function (if you want to get some specific results for yourself):
# Save it as CBRID.sql and import it form menu->Extend->Execute SQL Script.
#diplay packet id changes of cbr traffic at node 0 in the file named 694demo_AODV_all.tr
//the format of the sql file is:
// whether draw a chart(Y for chart/N for table)
// Query statement
Packet ID changes of CBR at node 0
select Time,EI from old_wireless_tr where Event='s' and PT='cbr' and TN='MAC' and NI=0 order by Time