Alachisoft NCache 4.1 - Online Documentation

getcachecount

 
The getcachecount utility allows you to view the number of items in the cache.
 
For .Net setup: GetCacheCount cache-id [option[...]]
For Java setup: java -cp "getcachecount.jar:$CLASSPATH" com.alachisoft.tools.getcachecount mycache
 
Argument
Description
cache-id
Specify id of the cache that you want to get count of.
 
Option
Description
/s server
Specifies a server name where the NCache service is running. The default is the local machine.
/p port
Specifies port if the server channel is not using the default port. The default TCP port is 8250.
/nologo
Suppresses the display of logo banner.
/?
Displays command syntax and options for the utility.
 
Remarks
 
The system where you use getcachecount utility, must have NCache service installed and running.
 
Examples
 
The following command picks the 'myCache' configuration from 'theSever' and if found, gets the number of items it contains.
getcachecount myCache  /s theServer
 
The following command displays command syntax and options for the utility. Logo banner is displayed as a part.
getcachecount /?
 
 
See Also
 
Copyright © 2005-2012 Alachisoft. All rights reserved.