📄 node70.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>7.4 Commands at a glance</TITLE><META NAME="description" CONTENT="7.4 Commands at a glance"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node71.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node71.html"><LINK REL="previous" HREF="node69.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node69.html"><LINK REL="up" HREF="node64.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node64.html"><LINK REL="next" HREF="node71.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node71.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html2390" HREF="node71.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node71.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html2384" HREF="node64.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node64.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html2378" HREF="node69.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node69.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html2386" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html2388" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html2391" HREF="node71.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node71.html">7.5 Queue/JoBS</A><B> Up:</B> <A NAME="tex2html2385" HREF="node64.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node64.html">7. Queue Management and</A><B> Previous:</B> <A NAME="tex2html2379" HREF="node69.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node69.html">7.3 Different types of</A>   <B> <A NAME="tex2html2387" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html2389" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION03440000000000000000"></A><A NAME="sec:queuecommand"></A><BR>7.4 Commands at a glance</H1><P>Following is a list of queue commands used in simulation scripts:<DIV ALIGN="LEFT"><TT>$ns_ queue-limit n1 n2 limit</TT><BR>This sets a limit on the maximum buffer size of the queue in the link betweennodes <n1> and <n2>.</DIV><P><DIV ALIGN="LEFT"><TT>$ns_ trace-queue n1 n2 optional:file</TT><BR>This sets up trace objects to log events in the queue. If tracefile is notpassed, it uses <TT>traceAllFile_</TT> to write the events.</DIV><P><DIV ALIGN="LEFT"><TT>$ns_ namtrace-queue n1 n2 optional:file</TT><BR>Similar to trace-queue above, this sets up nam-tracing in the queue.</DIV><P><DIV ALIGN="LEFT"><TT>$ns_ monitor-queue n1 n2 optional:qtrace optional:sampleinterval</TT><BR>This command inserts objects that allows us to monitor the queue size. Thisreturns a handle to the object that may be queried to determine the averagequeue size. The default value for sampleinterval is 0.1.</DIV><P><DIV ALIGN="LEFT"></DIV><P><HR><!--Navigation Panel--><A NAME="tex2html2390" HREF="node71.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node71.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html2384" HREF="node64.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node64.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html2378" HREF="node69.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node69.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html2386" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html2388" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html2391" HREF="node71.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node71.html">7.5 Queue/JoBS</A><B> Up:</B> <A NAME="tex2html2385" HREF="node64.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node64.html">7. Queue Management and</A><B> Previous:</B> <A NAME="tex2html2379" HREF="node69.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node69.html">7.3 Different types of</A>   <B> <A NAME="tex2html2387" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html2389" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <!--End of Navigation Panel--><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -