⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smilint.html-lang=de.htm

📁 libsmi的使用手册及网站
💻 HTM
📖 第 1 页 / 共 2 页
字号:
</tr></table><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="77%"><p>Preload the module <i>module</i> before reading the mainmodule(s). This may be helpful if an incomplete main module missesto import some definitions.</p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="89%"><p><b>-l</b><i>level</i><b>, --level=</b><i>level</i></p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="77%"><p>Report errors and warnings up to the given severity<i>level</i>. See below for a description of the error levels. Thedefault error level is 3.</p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="89%"><p><b>-i</b><i>prefix</i><b>, --ignore=</b><i>prefix</i></p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="77%"><p>Ignore all errors that have a tag which matches <i>prefix</i>. Alist of error tags can be retrieved by calling smilint with the -eoption.</p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="89%"><p><i>module(s)</i></p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="77%"><p>These are the modules to be checked. If a module argumentrepresents a path name (identified by containing at least one dotor slash character), this is assumed to be the exact file to read.Otherwise, if a module is identified by its plain module name, itis searched according to libsmi internal rules. See<b>smi_config(3)</b> for more details.</p></td></tr></table><a name="ERROR AND WARNING LEVELS"></a><h2>ERROR AND WARNING LEVELS</h2><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="89%"><p>All generated error and warning messages have an associatedseverity level. The actual severity levels are:</p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="3" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="4%"><p>0</p></td><td width="83%"><p>Internal error, no recovery possible. Examples are memoryallocation failures. Errors of this level usually cause theapplication to abort.</p></td></tr><tr valign="top" align="left"><td width="11%"></td><td width="4%"><p>1</p></td><td width="83%"><p>Major SMI/SPPI error, recovery somehow possible but may lead tosevere problems. Examples are lexically unexpected characters orunknown keywords. Errors of this kind usually lead to follow-onerrors.</p></td></tr><tr valign="top" align="left"><td width="11%"></td><td width="4%"><p>2</p></td><td width="83%"><p>SMI/SPPI error which is probably tolerated by someimplementations. Examples are MIB/PIB modules which mix constructsfrom different SMI/SPPI versions.</p></td></tr><tr valign="top" align="left"><td width="11%"></td><td width="4%"><p>3</p></td><td width="83%"><p>SMI/SPPI error which is likely tolerated by manyimplementations. Examples are misplaced SMIv2 MODULE-IDENTITYinvocations or SMIv2 textual conventions derived from other textualconventions.</p></td></tr><tr valign="top" align="left"><td width="11%"></td><td width="4%"><p>4</p></td><td width="83%"><p>Something which is not strictly an error but which isrecommended to be changed. Warnings of this level are usuallyconsidered during MIB reviews.</p></td></tr><tr valign="top" align="left"><td width="11%"></td><td width="4%"><p>5</p></td><td width="83%"><p>Something that is basically correct but might be problematic incertain environments or usage scenarios. Examples are warnings thatidentifiers only differ in case or that type definitions are notused within the defining module.</p></td></tr><tr valign="top" align="left"><td width="11%"></td><td width="4%"><p>6</p></td><td width="83%"><p>Messages of this level are auxiliary notices. Examples aremessages that point to a previous definition in case of aredefinition.</p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="89%"><p>Higher levels are currently not used and lead to the sameeffects as level 6 does. Note that errors up to level 3 are errorsviolating the specifications and must be fixed by the responsibleauthor. The warnings generated with level 4 should be consideredduring normal MIB/PIB reviews.</p></td></tr></table><a name="EXAMPLE"></a><h2>EXAMPLE</h2><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="89%"><p>This example checks the file RMON2-MIB in the current directory(note that the &#8216;./&#8217; prefix ensures this). The errorlevel is raised to 6 and warnings that claim about identifier namesthat exceed a length of 32 characters are suppressed.</p><pre>  $ smilint -l 6 -i namelength-32 ./RMON2-MIB  ./RMON2-MIB:3935: unexpected type restriction  ./RMON2-MIB:3936: unexpected type restriction  ./RMON2-MIB:3937: unexpected type restriction  ./RMON2-MIB:3938: unexpected type restriction  ./RMON2-MIB:3939: unexpected type restriction  ./RMON2-MIB:3940: unexpected type restriction  ./RMON2-MIB:4164: scalar object must not have a &#8216;read-create&#8217; access value</pre></td></tr></table><a name="SEE ALSO"></a><h2>SEE ALSO</h2><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="89%"><p>The <b>libsmi</b>(3) project is documented at <b>http://www.ibr.cs.tu-bs.de/projects/libsmi/</b>. Other commonly used MIBcheckers are <b>mosy</b>(1) and <b>smicng</b>(1).</p></td></tr></table><a name="AUTHORS"></a><h2>AUTHORS</h2><table width="100%" border="0" rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="89%"><p>(C) 1999-2004 F. Strauss, TU Braunschweig, Germany&lt;strauss@ibr.cs.tu-bs.de&gt;<br>(C) 1999-2002 J. Schoenwaelder, TU Braunschweig, Germany&lt;schoenw@ibr.cs.tu-bs.de&gt;<br>(C) 2002-2003 J. Schoenwaelder, University of Osnabrueck,Germany<br>(C) 2003-2004 J. Schoenwaelder, International University Bremen,Germany<br>(C) 2001-2002 T. Klie, TU Braunschweig, Germany&lt;tklie@ibr.cs.tu-bs.de&gt;<br>(C) 2002 M. Bunkus, TU Braunschweig, Germany&lt;bunkus@ibr.cs.tu-bs.de&gt;<br>and contributions by many other people.</p></td></tr></table></body></html></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -