User`s guide
UNLOAD
(KMON)
• Removes previously loaded handlers from memory, thus freeing the memory
space they occupied.
• Removes terminated foreground or system jobs.
Format
UNLOAD
device[,device,...]
jobname[,jobname,...]
Parameters
device
Specifies the device handler to be unloaded.
The colon that follows the device handler is optional. However, if you have a
system job with the same name as a device handler, you must include the colon
to remove that handler, or RT–11 will remove the job rather than the handler.
If you do not type a colon, RT–11 checks the table of system jobs for a job with
that name before it checks the device table.
jobname
Specifies the job to be unloaded.
Description
You can specify both device handlers and job names on the same command line.
UNLOAD clears ownership for all units of the device type you specify. A request
to unload the system device handler clears ownership for any assigned units for
that device, but the handler itself remains resident. After you issue the UNLOAD
command, RT–11 returns any memory it frees to a free memory list. The background
job eventually reclaims free memory. Note that if you interrupt an operation that
involves magtape, you must unload and then load (with the LOAD command) the
appropriate device handler (MM, MT, or MS).
RT–11 does not accept an UNLOAD command while a foreground job is running if
the foreground job owns any units of that device, because a handler the foreground
job needs might become nonresident. You can unload a device while a foreground
job is running if none of its units belongs to the foreground job.
A special function of this command is to remove a terminated foreground or system
job and reclaim memory, since RT–11 does not automatically return the space
occupied by the foreground or system job to the free memory list.
RT–11 Command Descriptions 325










