| < Prev | Back to Table of Contents | Next > |
Destroying an SMI Database deletes its command from Tcl and frees up all memory associated with all of the files, modules and other records previously loaded into the database. Destroying an individual record removes that record from the database and, if it is a container record such as a file, module, or conformance statement, then each of its contained records will also be destroyed (but not any records that are defined with OID values subordinate to the destroyed record).
% dbcmd destroy
?recordName?
..where dbcmd is the name of the database
and recordName is an optional record search
string (name, OID, or combination of such) identifying the record to
be destroyed. If no record is specified, then the database its self
will be destroyed.
Nothing.
smilib
destroy" command deletes all records in the master
database, but the smilib command and database remains.
Destroying any other database (e.g. "smilib1
destroy") results in that database being completely
removed.
% smilib1 destroy
% smilib1 destroy EXAMPLE-MIB
| < Prev | Back to Table of Contents | Next > |