Alachisoft NCache 3.8

stopcache

The stopcache utility allows you to stop an already running cache on a server.


stopcache cache-id(s) [option[...]]   
Argument Description
cache-id(s) Specifies one or more id(s) of the cache(s) running on the server. 
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.
/uid user-id user-id is required when security is enabled on Cache Server. user-id must be the active directory user-id prefixed with the domain name.
/pwd password Specifies password to authorize the user, when security is enabled on Cache Server, for stopping NCache. This password must be the same as the active directory user password.
/nologo Suppresses the display of logo banner.
/? Displays command syntax and options for the utility.

Remarks


You can specify multiple cache-ids on the same command line.

The system, where you use stopcache utility, must have NCache service installed and running. By default, stopcache 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 the service on a system, you must have access rights. 


Examples


The following command stops a cache 'theCache' on the local machine. 

 stopcache theCache

The following command stops the caches 'theCache' and 'thePartitionedCache' on a server 'theServer'.

 stopcache theCache thePartitionedCache /s theServer

The following command displays the command syntax and options for the utility. Logo banner is displayed as a part.

 stopcache /?

The following command displays the command syntax and options for the utility suppressing the display of the logo banner .

 stopcache /? /nologo


See Also

listcaches | addnode | removenode | startcache | addtestdata | addclientnode | removeclientnode | createclientcache | removeclientcache | upgradeconfiguration | configurnodesecurity | configurcachesecurity