Blame tools/smicache.1.in

Packit 022b05
.\"
Packit 022b05
.\" $Id: smicache.1.in 1677 2004-08-10 11:10:27Z strauss $
Packit 022b05
.\"
Packit 022b05
.TH smicache 1  "August 10, 2004" "IBR" "SMI Tools"
Packit 022b05
.SH NAME
Packit 022b05
smicache \- caching method for use with libsmi
Packit 022b05
.SH SYNOPSIS
Packit 022b05
.B smicache
Packit 022b05
[
Packit 022b05
.B "-Vh"
Packit 022b05
] [
Packit 022b05
.BI "-d " dir
Packit 022b05
] [
Packit 022b05
.BI "-p " prefix
Packit 022b05
]
Packit 022b05
[
Packit 022b05
.I mib
Packit 022b05
]
Packit 022b05
.SH DESCRIPTION
Packit 022b05
The \fBsmicache\fP program can be used by libsmi to fetch MIB modules that
Packit 022b05
cannot be found in regular local MIB directories. 
Packit 022b05
.SH OPTIONS
Packit 022b05
.TP
Packit 022b05
.B "-V"
Packit 022b05
Show the smicache version and exit.
Packit 022b05
.TP
Packit 022b05
.B "-h"
Packit 022b05
Show a help text and exit.
Packit 022b05
.TP
Packit 022b05
.BI "-d " dir
Packit 022b05
Write fetched module file(s) to directory \fIdir\fP.
Packit 022b05
.TP
Packit 022b05
.BI "-p " prefix
Packit 022b05
Use the URL prefix \fIprefix\fP for fetching modules. 
Packit 022b05
.TP
Packit 022b05
.I mib
Packit 022b05
The MIB module to be fetched. 
Packit 022b05
.PP
Packit 022b05
Note that \fBsmicache\fP is just a very simple script that builds on
Packit 022b05
the wget program to retrieve files from URLs. It does not handle
Packit 022b05
the file attributes of retrieved modules in any special way, so that
Packit 022b05
you have to care about permissions in multi-user environments.
Packit 022b05
.SH "EXAMPLE"
Packit 022b05
\fBSmicache\fP can be used by putting the following line into the
Packit 022b05
global configuration file:
Packit 022b05
.nf
Packit 022b05
Packit 022b05
  cache /usr/local/share/mibs/cache \\
Packit 022b05
    /usr/local/bin/smicache \\
Packit 022b05
    -d /usr/local/share/mibs/cache \\
Packit 022b05
    -p http://www.ibr.cs.tu-bs.de/projects/libsmi/smicache/
Packit 022b05
Packit 022b05
.fi
Packit 022b05
You might want to chmod 1777 /usr/local/share/mibs/cache.
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
.PP
Packit 022b05
.BR smilint "(1)"
Packit 022b05
.SH "AUTHOR"
Packit 022b05
(C) 2001-2004 Frank Strauss, TU Braunschweig, Germany <strauss@ibr.cs.tu-bs.de>
Packit 022b05
.br