NCache 4.3 - Online Documentation

dumpcache

 
The dumpcache utility dumps the available cache keys to Console or given out-put file.
 
For .Net setup: dumpcache  cache-id [option[...]]
 
For Java setup: java -cp "dumpcache.jar:$CLASSPATH" com.alachisoft.tools.dumpcache mycache
 
 
Argument
Description
cache-id
Specifies an id of the cache that is running on the server.
 
Option
Description
keycount
Specifies number of keys to be dumped. The default is 1000.
keyfilter
Specifies a substring that a key contains.
/?
Displays command syntax and options for the utility.
 
Remarks
 
The system, where you use dumpcache utility, must have NCache service installed and running.
 
Examples
 
The following command dumps a cache 'theCache' on the local machine.
dumpcache theCache
 
The following command dumps a cache 'theCache' on the local machine with keycount 2000.
dumpcache theCache 2000
 
The following command dumps a cache 'theCache' on the local machine with keycount 2000 having keyfilter 'ryan'.
dumpcache theCache 2000 ryan
 
To dump cache to an output file, you can use > sign to get console-out to a file. For example If keys need to be dumped under file Keys.txt you can use following command.
dumpcache theCache 2000 ryan > Keys.txt
 
The following command displays the command syntax and options for the utility. Logo banner is displayed as a part.
dumpcache /?
 
 
See Also
 
© Copyright  2014 Alachisoft. All rights reserved.