Telnet commands related to cache management
Applies to:
SAP NetWeaver CE 7.2 and higher.
AS Java implements centralized cache management infrastructure that consolidates caches used by various applications within the SAP system landscape. This infrastructure is provided by the Cache Management Library (CML).
The CACHE group of Telnet commands provides central monitoring and administration of all caches.
In order to have access to CACHE group commands, type "add CACHE".
To display the help information about the available commands you can type one of the following in the command line:
<command> -h
<command> -?
MAN <command>
Note that the configuration changes you make using the CACHE commands are not persisted - after system restart the changed cache configuration will be lost and the default one will be valid.
cache_regions
Lists all available cache regions on the server process to which you are connected.
Usage: CACHE_REGIONS
cache_groups
Lists all available cache groups in a cache region
Usage: CACHE_GROUPS region_name
Parameters:
region_name - the name of the region that groups will be printed for
cache_info
Lists detailed information about the cache regions
Usage: CACHE_INFO [JSTSG:<parameters>] [JSTSG:<region name>]
Parameters:
<region name> - name of the cache region
-size - provides "best-guess" estimate size for a specific cache region
-help - help message
If no parameters are provided, the command lists the parameters of the region (thresholds, number of puts and gets, etc.)
In case -size parameter is provided, then an estimation of the region size is presented.
The command provides information for the regions of the server process to which you are connected.
cache_keys
Lists all object keys in a region[JSTSG:group]
Usage: CACHE_KEYS region_name [JSTSG:group_name]
Parameters:
region_name - the name of the region that cache keys will be printed for
group_name - the name of the group that cache keys will be printed for
cache_modify
Performs configuration operations on a cache region.
Usage: CACHE_MODIFY [JSTSG:<parameters>] [JSTSG:<region name>]
Parameters:
<region name> - name of the cache region
-clear - removes all objects from the region
-resize - resize the region
In case -clear
parameter is provided, the region is cleared (emptied).
In case -resize
_parameter is provided, the command will ask the user for the thresholds that needs to be set._
Both clear and resize operations are performed on all server processes in the cluster.