2 .\" $Id: smiquery.1.in 1676 2004-08-10 10:58:12Z strauss $
4 .TH smiquery 1 "August 10, 2004" "IBR" "SMI Tools"
6 smiquery \- query single information from SMI MIB modules
16 The \fBsmiquery\fP program is used to query information on a single
17 item from an MIB module, e.g. module meta information or a single type
22 Show the smiquery version and exit.
25 Show a help text and exit. The help text lists all available \fBcommand\fPs.
27 \fB-p \fImodule\fB, --preload \fImodule\fP
28 Preload the module \fImodule\fP before reading the main module. This may
29 be helpful if an incomplete main module misses to import some definitions.
32 This specifies the kind of information to retrieve (module, imports,
33 revisions, node, parent, compliance, index, members, children, type, or
34 macro) and the item to retrieve.
36 The module in question is searched along a path, which is initialized by
37 the \fBSMIPATH\fP environment variable or by @mibdir@ if
38 \fBSMIPATH\fP is not set. Files with a \fB.sming\fP extension are
39 expected to be (old-style!) SMIng module files. Files
40 with a \fB.my\fP or without
41 any extension are expected to be SMIv1/v2 module files.
43 This example queries for information on the node ifNumber defined
47 $ smiquery node IF-MIB::ifNumber
48 MibNode: IF-MIB::ifNumber
51 Declaration: OBJECT-TYPE
55 Description: The number of network interfaces (regardless of their
56 current state) present on this system.
62 project is documented at
63 .BR "http://www.ibr.cs.tu-bs.de/projects/libsmi/" "."
65 (C) 1999-2004 F. Strauss, TU Braunschweig, Germany <strauss@ibr.cs.tu-bs.de>