The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ... The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

nmlab.korea.ac.kr
from nmlab.korea.ac.kr More from this publisher
12.07.2015 Views

Part IXVisualization with Nam - The NetworkAnimator389

Chapter 45Nam45.1 IntroductionNam is a Tcl/TK based animation tool for viewing network simulation traces and real world packet tracedata. The designtheory behind nam was to create an animator that is able to read large animation data sets and be extensible enough so that itcould be used indifferent network visualization situations. Under this constraint nam was designed to read simple animationevent commands from a large trace file. In order to handle large animtion data sets a minimum amount of information is keptin memory. Event commands are kept in the file and reread from the file whenever necessary.The first step to use nam is to produce the trace file. The trace file contains topology information, e.g., nodes, links, as wellas packet traces. The detailed format is described in the section 46.1. Usually, the trace file is generated by ns. During anns simulation, user can produce topology configurations, layout information, and packet traces using tracing events in ns.However any application can generate a nam trace file.When the trace file is generated, it is ready to be animated by nam. Upon startup, nam will read the tracefile, create topology,pop up a window, do layout if necessary, and then pause at time 0. Through its user interface, nam provides control over manyaspects of animation. These functionalities will be described in detail in the USER INTERFACE section.There are bugs in nam however each successive has become much more stable than the previous one. Please mail nsusers@isi.eduif you encounter any bugs, or have suggestions for addiotional desired functionality.45.2 Nam Command Line Optionsnam [ -g ] [ -t ] [ -i ] [ -j ][ -k ] [ -N ] [ -c ][ -f ] [ -r initial animation rate ][ -a ] [ -p ] [ -S ][ ]Command Line Options390

Chapter 45Nam45.1 IntroductionNam is a Tcl/TK based anim<strong>at</strong>ion tool for viewing network simul<strong>at</strong>ion traces <strong>and</strong> real world packet traced<strong>at</strong>a. <strong>The</strong> designtheory behind nam was to cre<strong>at</strong>e an anim<strong>at</strong>or th<strong>at</strong> is able to read large anim<strong>at</strong>ion d<strong>at</strong>a sets <strong>and</strong> be exte<strong>ns</strong>ible enough so th<strong>at</strong> itcould be used indifferent network visualiz<strong>at</strong>ion situ<strong>at</strong>io<strong>ns</strong>. Under this co<strong>ns</strong>traint nam was designed to read simple anim<strong>at</strong>ionevent comm<strong>and</strong>s from a large trace file. In order to h<strong>and</strong>le large animtion d<strong>at</strong>a sets a minimum amount of inform<strong>at</strong>ion is keptin memory. Event comm<strong>and</strong>s are kept in the file <strong>and</strong> reread from the file whenever necessary.<strong>The</strong> first step to use nam is to produce the trace file. <strong>The</strong> trace file contai<strong>ns</strong> topology inform<strong>at</strong>ion, e.g., nodes, links, as wellas packet traces. <strong>The</strong> detailed form<strong>at</strong> is described in the section 46.1. Usually, the trace file is gener<strong>at</strong>ed by <strong>ns</strong>. During an<strong>ns</strong> simul<strong>at</strong>ion, user can produce topology configur<strong>at</strong>io<strong>ns</strong>, layout inform<strong>at</strong>ion, <strong>and</strong> packet traces using tracing events in <strong>ns</strong>.However any applic<strong>at</strong>ion can gener<strong>at</strong>e a nam trace file.When the trace file is gener<strong>at</strong>ed, it is ready to be anim<strong>at</strong>ed by nam. Upon startup, nam will read the tracefile, cre<strong>at</strong>e topology,pop up a window, do layout if necessary, <strong>and</strong> then pause <strong>at</strong> time 0. Through its user interface, nam provides control over manyaspects of anim<strong>at</strong>ion. <strong>The</strong>se functionalities will be described in detail in the USER INTERFACE section.<strong>The</strong>re are bugs in nam however each successive has become much more stable than the previous one. Please mail <strong>ns</strong>users@isi.eduif you encounter any bugs, or have suggestio<strong>ns</strong> for addiotional desired functionality.45.2 Nam Comm<strong>and</strong> Line Optio<strong>ns</strong>nam [ -g ] [ -t ] [ -i ] [ -j ][ -k ] [ -N ] [ -c ][ -f ] [ -r initial anim<strong>at</strong>ion r<strong>at</strong>e ][ -a ] [ -p ] [ -S ][ ]Comm<strong>and</strong> Line Optio<strong>ns</strong>390

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!