Alachisoft NCache 4.1 - Online Documentation

listcaches

 
The listcaches utility allows you to get a list of all the caches registered on the server along with their current status.
 
listcaches [option[...]]
 
Option
Description
/s server-name
Specifies a server name where the NCache service is running. The default is the local machine.
/p port
Specifies the port if the server channel is not using the default port. The default TCP port is 8250.
/a
Displays a detailed information about the cache(s) registered on the server.
/x
Displays configuration as part of the detailed information in XML format. This parameter affects only when /a is also specified.
/z
Displays configuration as part of the detailed information in property-string format. This parameter affects only when /a is also specified.
/nologo
Suppresses the display of logo banner.
/?
Displays command syntax and options for the utility.
 
Remarks
 
The system where you use listcaches utility, must have NCache service installed and running. By default, listcaches utility tries to start the service if it is not running. But if it fails to do so, you must start the service manually. To start service on a system, you must have access rights.
 
Examples
 
The following command lists all the caches, registered on the local machine.
listcaches
 
The following command lists all the caches, registered on a server 'theServer'.
listcaches /s theServer
 
The following command displays the detailed information about all the caches registered on the local machine and their configurations using property string.
listcaches /a /z
 
The following command displays the configuration of all the caches registered on the local machine in XML format.
listcaches /a /x
 
The following command displays the command syntax and options for the utility. Logo banner is displayed as a part.
listcaches /?
 
The following command displays the command syntax and options for the utility suppressing the display of logo banner.
listcaches /? /nologo
 
 
See Also
Copyright © 2005-2012 Alachisoft. All rights reserved.