RedHat iTOps Tube

Monday, May 14, 2012

Ns2measure Configuration (ns-2.33, Debian)

Good day.



I have tried to use the ns2measure framework http://info.iet.unipi.it/~cng/ns2measure/ in order to plot & analyze my simulation results (that is, WiMax mesh networking). Yet it just does not produce any useful output. As the readme says, one should run the test.sh sequentially with the options run, conf, stat. When I try ./test.sh run, it just produces multiple complaints like this:




Code:


test-350000 ./test.sh: line 151: [: too many arguments

./test.sh: line 153: [: too many arguments

./test.sh: line 155: [: too many arguments

./test.sh: line 151: [: too many arguments


Any further tries to make ./test.sh conf and so on are helpless. An article from the authors ("ns2measure command-line utilities manual") gives a hint that the test.sh is something like this config file, but that file is just useless. The scarcity of documentation is tremendously frustrating. :banghead:



So I wonder, how should I config this (or where do I find suitable configs). Thanks in advance.



http://pastebin.com/EJqLPPqA - the test.sh file

http://pastebin.com/4m7kPmdz - the readme



PS: Ns2.33, Debian Wheezy 64-bit, and the regular simulation works fine.