-b
--brief
List out the current modules that are loaded. Show only basic
information.
-e
--exportsym
Export all global symbols from this module (i.e. any function or
variable not marked static). This will allow other modules to use
exported functions and variables from the loaded module. If you
use this option, the module will have to be written such that
symbols are in a separate namespace to avoid conflicts.
-h
--help
Print out a short help message.
-l
--list
List out the current modules that are loaded.
-m ALIAS
--mod-name ALIAS
Load the module named as the given alias, rather than using the
default base filename.
-s
--showinfo
List general module information, including all available module
parameters that can be specified in the PARAMETER section of the
command line.
-u MODULE-NAME
--unload MODULE-NAME
Unload the named module.
-v <0-10>
--verbose <0-10>
Enable debug logging. Larger values generate more logging.
Modules can specify parameters that can be set on the command line. A list of these parameters is shown via the --showinfo option. In order to set one of these parameters, a name-value pair must be specified at the end of the command line. The syntax is of the form name=value. Any number of parameters can be specified. Quotes may be placed around values which contain spaces (but must be escaped from the shell).
vmkload_mod /usr/lib/vmware/vmkmod/e100.o debug=5
loads the module /usr/lib/vmware/vmkmod/e100.o into the VMkernel.
The module parameter debug will be set to the value 5.
vmkload_mod -m cosShadow tcpip2 cosShadow=\"1\"
finds the tcpip2 module in the default paths and loads it with the
name cosShadow. The module parameter cosShadow will be set
to the value 1.
vmkload_mod --exportsym /usr/lib/vmware/vmkmod/vmklinux
loads the module /usr/lib/vmware/vmkmod/vmklinux into the VMkernel.
All exported symbols from this module will be available to other
modules that are subsequently loaded. The vmklinux module is the
module that allows Linux device drivers to run in the VMkernel so
it is one of the few modules for which the --exportsym option makes
sense.