Only the super user can call this command. A global program cache of scaleable size is kept to store ready-to-run core images of POSIX programs. These core images are stored implicitly during the call of a POSIX TOOL from the shell library or are stored explicitly using this command. The global program cache is available to all users to load a stored program.
Syntax
posdbl{ -s| -h| -S| -D| -n} |
posdbl{ -e| -d}{loader|linker|both} |
posdbl -b path |
posdbl -l[ element] |
posdbl -r element |
posdbl -L
|
posdbl -A library |
posdbl -R library |
options
The status of the global program cache, the implicit linker process and statistical data about size and allocation percentage is written to standard output in the following format:
Meaning of output
Current status of the implicit linker and loader process (ON, OFF).
Creation date of the program cache.
Creation time of the program cache.
Total cache size in megabytes.
Current number of stored core images.
Number of memory pages still available in cache. In the worst case, there is one memory page less available to core images because the extension of the cache catalog occupies one page.
An overview of all options and parameters is output.
A script which enables the current content of the program cache to be restored is output to stdout.
The program cache is deleted.
A new, empty program cache is generated. When a new program cache is generated, the two functions loader process (loader) and link process (linker) (see the -e / -d options) are not enabled. Loading of the programs from the cache and automatic caching are consequently not enabled.
The loader process (loader), the implicit linker process (linker) or both processes (both) are activated (option -e) or deactivated (option -d). The implicit link process (linker) applies for all libraries for which automatic caching is enabled (see the -A, -R and -L options).
The core image of a program identified by its path name is stored in the program cache. The program indicated under path must be executable.
A list of all core images currently stored in the program cache is written to standard output in the following format:
Name of the program element in the PLAM library or the plain file name of the program in UFS. If the core image was saved with the command call
Number of memory pages occupied by the core image.
Date of the last access to the core image.
Time of the last access to the core image.
Current status of the program cache (active, inactive or in delete).
Name of the PLAM library from which the core image was loaded or the path name of the LLM in UFS.
Detailed information about the core image element in the program cache is written to standard output in the following format:
Meaning of output
Name of the program element in the PLAM library or the plain file name of the program in UFS.
Creation date of core image.
Creation time of core image.
Date of the last access to the core image.
Time of the last access to the core image.
Start address of the core image during processing.
Number of memory pages occupied by the core image.
Number of load accesses to core image.
Number of slices.
Load address of the slices.
Number of memory pages occupied by the slices.
Information about the core image origin. Initially an attempt is made to find an element in the specified notation. If this proves unsuccessful, another search is made ignoring the use of uppercase/lowercase.
The core image element is deleted from the program cache. All core images of the program cache will be deleted if "*" is indicated as an element. Initially an attempt is made to find an element in the specified notation. If this proves unsuccessful, another search is made ignoring the use of uppercase/lowercase.
By default, only the SINLIB.POSIX-BC.vvv.SHELL and SINLIB.POSIX-SH.vvv libraries are taken into account for the implicit link operation. The -A option enable further libraries to be added to the list of libraries to be taken into account. Only programs which are installed in the POSIX system as a reference to an element in a PLAM library and not as an LLM are automatically preloaded into the program cache. This is the case, for example, with all commands and tools which are supplied with POSIX-BC. Some well-defined programs (e.g. daemons and the mount, umount and share commands) are not automatically loaded into the cache. As the CAT ID is ignored, only libraries which exist on the default pubset can be added. The specification of the library name is not case-sensitive.
The library library is removed from the library list. All programs from library are now no longer automatically loaded into the program cache when they are executed, but must, if required, be added explicitly using the -b option. The same information applies as for the -A option.
A list of libraries is displayed whose programs are automatically loaded into the program cache when they are called. |
Example
|