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

📄 smiquery.html

📁 libsmi的使用手册及网站
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><!-- Generated by [mod-xslt-ibr] at 2008-10-22T15:27:50 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>smiquery</title><meta name="author" content=""><meta name="keywords" content=""><link rel="shortcut icon" href="/old/shortcut_icon.gif"><link rel="stylesheet" type="text/css" href="ibr.css" tppabs="http://www.ibr.cs.tu-bs.de/old/ibr.css"><link rel="stylesheet" type="text/css" href="libsmi.css" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/libsmi.css"></head><body class="main"><div class="nav"><div class="lang"><img src="german.gif" tppabs="http://www.ibr.cs.tu-bs.de/icon/german.gif" alt="de"></div><div class="menu"><ul><li><a href="index.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/index.html?lang=de">Home</a><ul><li><a href="ANNOUNCE.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/ANNOUNCE.html?lang=de">ANNOUNCE</a></li></ul></li><li><a href="library.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/library.html?lang=de">Library</a><ul><li><a href="example.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/example.html?lang=de">Example</a></li><li><a href="libsmi.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/libsmi.html?lang=de">man libsmi</a></li><li><a href="smi_config.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_config.html?lang=de">man smi_config</a></li><li><a href="smi_module.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_module.html?lang=de">man smi_module</a></li><li><a href="smi_type.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_type.html?lang=de">man smi_type</a></li><li><a href="smi_node.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_node.html?lang=de">man smi_node</a></li><li><a href="smi_macro.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_macro.html?lang=de">man smi_macro</a></li></ul></li><li><a href="tools.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/tools.html?lang=de">Tools</a><ul><li><b><a href="-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/tools/?lang=de">Web Interface</a></b></li><li><a href="smilint.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smilint.html?lang=de">man smilint</a></li><li><a href="smidump.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smidump.html?lang=de">man smidump</a></li><li><a href="smidiff.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smidiff.html?lang=de">man smidiff</a></li><li><a href="smiquery.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smiquery.html?lang=de">man smiquery</a></li><li><a href="smixlate.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smixlate.html?lang=de">man smixlate</a></li><li><a href="smistrip.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smistrip.html?lang=de">man smistrip</a></li><li><a href="xml.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/xml.html?lang=de">XML Mapping</a></li><li><a href="index-1.html.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/svg/index.html?lang=de">SVG Browsing</a></li></ul></li><li><a href="mibs.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/mibs.html?lang=de">MIBs and PIBs</a></li><li><a href="doc.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/doc.html?lang=de">Documentation</a><ul><li><a href="README.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/README.html?lang=de">README</a></li><li><a href="ChangeLog.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/ChangeLog.html?lang=de">ChangeLog</a></li><li><a href="TODO.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/TODO.html?lang=de">TODO</a></li><li><a href="mailinglist.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/mailinglist.html?lang=de">Mailinglist</a></li><li><a href="COPYING.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/COPYING.html?lang=de">License</a></li></ul></li><li><a href="download.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/download.html?lang=de">Download</a></li><li><a href="people.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/people.html?lang=de">People</a></li></ul></div><div class="stamp">&copy; IBR, TU-BS<br><a href=""></a><br><br></div></div><h1>smiquery</h1><html><head><meta name="generator" content="HTML Tidy for Linux/x86 (vers 12 April 2005), see www.w3.org"><meta name="generator" content="groff -Thtml, see www.gnu.org"><meta name="Content-Style" content="text/css"><title>smiquery</title></head><body><h1 align="center">smiquery</h1><a name="NAME"></a><h2>NAME</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>smiquery &#8722; query single information from SMI MIBmodules</p></td></tr></table><a name="SYNOPSIS"></a><h2>SYNOPSIS</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><b>smiquery</b> [ <b>-Vh</b> ] [ <b>-p</b><i>module</i> ]<i>command name</i></p></td></tr></table><a name="DESCRIPTION"></a><h2>DESCRIPTION</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>smiquery</b> program is used to query information on asingle item from an MIB module, e.g. module meta information or asingle type definition.</p></td></tr></table><a name="OPTIONS"></a><h2>OPTIONS</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><b>-V, --version</b></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>Show the smiquery version and exit.</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>-h, --help</b></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>Show a help text and exit. The help text lists all available<b>command</b>s.</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>-p</b><i>module</i><b>, --preload</b><i>module</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>Preload the module <i>module</i> before reading the main module.This may be helpful if an incomplete main module misses to importsome 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><i>command name</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>This specifies the kind of information to retrieve (module,imports, revisions, node, parent, compliance, index, members,children, type, or macro) and the item to retrieve.</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>The module in question is searched along a path, which isinitialized by the <b>SMIPATH</b> environment variable or by/usr/local/share/mibs if <b>SMIPATH</b> is not set. Files with a<b>.sming</b> extension are expected to be (old-style!) SMIngmodule files. Files with a <b>.my</b> or without any extension areexpected to be SMIv1/v2 module files.</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 queries for information on the node ifNumberdefined in the module IF-MIB.</p><pre>  $ smiquery node IF-MIB::ifNumber       MibNode: IF-MIB::ifNumber</pre></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="7%"></td><td width="7%"></td><td width="85%"><p>OID: 1.3.6.1.2.1.2.1</p></td></tr><tr valign="top" align="left"><td width="7%"></td><td width="7%"></td><td width="85%"><p>Type: Integer32</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>Declaration: OBJECT-TYPE<br>NodeKind: scalar</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="7%"></td><td width="92%"><p>Access: read-only</p></td></tr><tr valign="top" align="left"><td width="7%"></td><td width="92%"><p>Status: current</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>Description: The number of network interfaces (regardless oftheir</p></td></tr></table><table width="100%" border="0" rules="none" frame="void" cols="4" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="7%"></td><td width="7%"></td><td width="7%"></td><td width="77%"><p>current state) present on this system.</p></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>.</p></td></tr></table><a name="AUTHOR"></a><h2>AUTHOR</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;</p></td></tr></table></body></html></body></html>

⌨️ 快捷键说明

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