Using Server Utilities and Console Commands

Server utilities are NetWare Loadable ModulesTM (NLMTM programs). Some NLM programs are loaded whenever you start the server, some are loaded by other NLM programs when they are needed, and some must be loaded manually.

Server console commands are executed by entering the command at the server console prompt.

HINT:  When you enter a command at the server console prompt, the command is stored in the command queue. To repeat a command, press the Up-arrow key until the desired command is displayed. You can make changes to the command or press Enter to execute the command. Up to 16 commands can be saved in the queue.

For more information, see the following topics:


How to Access Help for Utilities and Console Commands


Using NetWare Loadable Modules

When loaded, an NLM program is dynamically linked to the operating system, and the NetWare server allocates a portion of memory to it.

The amount of memory an NLM program uses depends on the task. Some tasks make calls that cause the operating system to allocate more memory. The NLM uses the memory to perform a task, and then returns control of the memory to the operating system when the NLM is unloaded. When an NLM is unloaded, all allocated resources are returned to the operating system.

NetWare has five types of NLM programs:

Some NLM programs, such as utilities, can be loaded, used, and then unloaded. Other NLM programs, such as LAN driver and disk driver NLMs, must be loaded every time the server is started.

NCF files (startup.ncf and autoexec.ncf) allow you to store commands that load NLM programs every time the NetWare server is started.

Most NLM programs included with NetWare are copied to sys:system during installation. As you acquire additional NLM programs, decide where you want to copy them. The operating system must be able to find the NLM programs when a LOAD command is issued.

NLM programs can be copied to any of the following areas:

For more information about using NLM programs, see LOAD, UNLOAD, and SEARCH in Utilities Reference.


Loading and Unloading NetWare Loadable Modules

To load a NetWare Loadable Module (NLM), enter the following at the server console prompt:

[LOAD] [ path] NLM_name

NOTE:  In most cases you can load an NLM by entering just the name of the NLM at the console prompt . The exception is if there is a .ncf file of the same name as the NLM. In this case, you must use the LOAD command. Using the LOAD command tells the server to load the NLM instead of executing the file of the same name. For information about the LOAD command, see LOAD in Utilities Reference.

To unload a NetWare Loadable Module (NLM), enter the following at the server console prompt:

UNLOAD NLM_name

To unload an NLM from a protected address space, enter the following at the server console prompt:

UNLOAD ADDRESS SPACE = space_name module_name

For more information about loading and unloading modules, see LOAD and UNLOAD in Utilities Reference. For more information about unloading modules from protected address spaces, see Unloading Protected Address Spaces.