48.2 Nam Command Line Options

nam [ -g \<geometry\> ] [ -t \<graphInput\> ] [ -i \<interval\> ] [ -j \<startup time\> ] 
    [ -k \<intial socket port number\> ] [ -N \<application name\> ] [ -c \<cache size\> ] 
    [ -f \<configuration file\> ] [ -r initial animation rate ]
    [ -a ] [ -p ] [ -S ]
    [ \<tracefile(s)\> ]

Command Line Options

-g Specify geometry of the window upon startup.
-t Instruct nam to use tkgraph, and specify input file nam for tkgraph.
-i [Information for this option may not be accurate] Specify rate (real) milliseconds as the screenupdate rate. The default rate is 50ms (i.e., 20 frames per second). Note that the X server may not be able to keep up with this rate, in which case the animation will run as fast as the X server allowsit to (at 100% cpu utilization).
-N Specify the application name of this nam instance. This application name may later be used in peer synchronization.
-c The maximum size of the cache used to store 'active' objects when doing animating in reverse.
-f Name of the initialization files to be loaded during startup. In this file, user can define functions which will be called in the trace file. An example for this is the 'link-up' and 'link-down' events of dynamic links in ns. (Refer to $ns rtmodel for detail, and tcl/ex/simple-dyn.tcl in your ns direc-tory for example). Example initialization files can be found at ex/sample.nam.tcl and ex/dynamicnam.conf.
-a Create a separate instance of nam.
-p Print out nam trace file format.
-S Enable synchronous X behavior so it is easier for graphics debugging. For UNIX system running X only.
<tracefile> is the name of the file containing the trace data to be animated. If <tracefile> cannot be read, nam will try to open <tracefile>.nam.

Tom Henderson 2011-11-05