GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
smiquery(1) SMI Tools smiquery(1)

smiquery - query single information from SMI MIB modules

smiquery [ -Vh ] [ -p module ] command name

The smiquery program is used to query information on a single item from an MIB module, e.g. module meta information or a single type definition.

-V, --version
Show the smiquery version and exit.
-h, --help
Show a help text and exit. The help text lists all available commands.
-p module, --preload module
Preload the module module before reading the main module. This may be helpful if an incomplete main module misses to import some definitions.
command name
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.
The module in question is searched along a path, which is initialized by the SMIPATH environment variable or by /usr/local/share/smi/mibs if SMIPATH is not set. Files with a .sming extension are expected to be (old-style!) SMIng module files. Files with a .my or without any extension are expected to be SMIv1/v2 module files.

This example queries for information on the node ifNumber defined in the module IF-MIB.
$ smiquery node IF-MIB::ifNumber MibNode: IF-MIB::ifNumber OID: 1.3.6.1.2.1.2.1 Type: Integer32 Declaration: OBJECT-TYPE NodeKind: scalar Access: read-only Status: current Description: The number of network interfaces (regardless of their current state) present on this system.

The libsmi(3) project is documented at http://www.ibr.cs.tu-bs.de/projects/libsmi/.

(C) 1999-2004 F. Strauss, TU Braunschweig, Germany <strauss@ibr.cs.tu-bs.de>
 
August 10, 2004 IBR

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.