|
Packit |
022b05 |
.\"
|
|
Packit |
022b05 |
.\" $Id: smixlate.1.in 1676 2004-08-10 10:58:12Z strauss $
|
|
Packit |
022b05 |
.\"
|
|
Packit |
022b05 |
.TH smixlate 1 "June 18, 2006" "IUB" "SMI Tools"
|
|
Packit |
022b05 |
.SH NAME
|
|
Packit |
022b05 |
smixlate \- translate SMI/SPPI identifiers
|
|
Packit |
022b05 |
.SH SYNOPSIS
|
|
Packit |
022b05 |
.B smixlate
|
|
Packit |
022b05 |
[
|
|
Packit |
022b05 |
.B "-Vhm"
|
|
Packit |
022b05 |
] [
|
|
Packit |
022b05 |
.BI "-c " file
|
|
Packit |
022b05 |
] [
|
|
Packit |
022b05 |
.BI "-p " module
|
|
Packit |
022b05 |
] [
|
|
Packit |
022b05 |
.BI "-l " level
|
|
Packit |
022b05 |
]
|
|
Packit |
022b05 |
.I "module(s)"
|
|
Packit |
022b05 |
.SH DESCRIPTION
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The \fBsmixlate\fP program is used to translate identifiers and
|
|
Packit |
022b05 |
especially OIDs into a more human readable format.
|
|
Packit |
022b05 |
.SH OPTIONS
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-V, --version\fP
|
|
Packit |
022b05 |
Show the smixlate version and exit.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-h, --help\fP
|
|
Packit |
022b05 |
Show a help text and exit.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-r, --recursive\fP
|
|
Packit |
022b05 |
Report errors and warnings also for recursively imported modules.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-c \fIfile\fB, --config=\fIfile\fP
|
|
Packit |
022b05 |
Read \fIfile\fP instead of any other (global and user)
|
|
Packit |
022b05 |
configuration file.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-p \fImodule\fB, --preload=\fImodule\fP
|
|
Packit |
022b05 |
Preload the module \fImodule\fP before reading the main
|
|
Packit |
022b05 |
module(s). This may be helpful if an incomplete main module misses to
|
|
Packit |
022b05 |
import some definitions.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-l \fIlevel\fB, --level=\fIlevel\fP
|
|
Packit |
022b05 |
Report errors and warnings up to the given severity \fIlevel\fP. See
|
|
Packit |
022b05 |
the smilint(1) manual page for a description of the error levels. The
|
|
Packit |
022b05 |
default error level is 3.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-a, --all\fP
|
|
Packit |
022b05 |
Replace all OIDs including OID prefixes. Without this option, smixlate
|
|
Packit |
022b05 |
will only translate OIDs with a corresponding notification, scalar,
|
|
Packit |
022b05 |
column, row, or table definition.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-f, --format\fP
|
|
Packit |
022b05 |
Preserve the input format as much as possible by inserting/removing
|
|
Packit |
022b05 |
white space characters.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
.I module(s)
|
|
Packit |
022b05 |
These are the modules to be loaded for the subsequent translation. If
|
|
Packit |
022b05 |
a module argument represents a path name (identified by containing at
|
|
Packit |
022b05 |
least one dot or slash character), this is assumed to be the exact
|
|
Packit |
022b05 |
file to read. Otherwise, if a module is identified by its plain module
|
|
Packit |
022b05 |
name, it is searched according to libsmi internal rules. See
|
|
Packit |
022b05 |
\fBsmi_config(3)\fP for more details.
|
|
Packit |
022b05 |
.SH "EXAMPLE"
|
|
Packit |
022b05 |
This example translates numeric OIDs in the input text into a more
|
|
Packit |
022b05 |
human readable format.
|
|
Packit |
022b05 |
.nf
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
$ echo "what is this oid? 1.3.6.1.2.1.2.2.1.3" | \
|
|
Packit |
022b05 |
./smixlate -l 0 /usr/local/share/mibs/ietf/*
|
|
Packit |
022b05 |
what is this oid? ifType
|
|
Packit |
022b05 |
$
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
.fi
|
|
Packit |
022b05 |
.SH "SEE ALSO"
|
|
Packit |
022b05 |
The
|
|
Packit |
022b05 |
.BR libsmi (3)
|
|
Packit |
022b05 |
project is documented at
|
|
Packit |
022b05 |
.BR "http://www.ibr.cs.tu-bs.de/projects/libsmi/" "."
|
|
Packit |
022b05 |
.SH "AUTHORS"
|
|
Packit |
022b05 |
(C) 2006-2006 J. Schoenwaelder, International University Bremen, Germany
|
|
Packit |
022b05 |
.br
|
|
Packit |
022b05 |
and contributions by many other people.
|
|
Packit |
022b05 |
.br
|