To use the shared memory manager
The shared memory manager is located in the $BSE/bin directory and can be started as:
shmmanager [-iksavr]
The options are:
-
–i
: Initialize shared memory. -
–k
: Delete created shared-memory blocks. After you delete shared memory, you must re-initialize the memory. You can only use this option if all processes that use shared memory have finished. Otherwise, an error message is displayed. -
–s
: Display technical information on the contents of shared memory. This includes:- Common bshell pointers
- Description of segment table
-
–a
: Display of allocation data, such as addresses, segments, size, and so on. -
–v
: Display machine data and porting data. -
–r
: Reset shared memory. Removes all data from shared memory, except the first segment. You do not have to reinstall shared memory afterwards. The result of this option is the same as when you use the–k
option followed by the–i
option. You can only use this option if all processes that use shared memory have finished. If not, a message is displayed:# of attaches = <number> Cannot remove... # of attaches not equal to zero
The options
–a
,
–i
, and
–v
are discussed in
Initialization of shared memory.