管理与程序设计指南

启动和停止高速缓存管理器

以下章节描述了如何启动和停止高速缓存管理器。

启动高速缓存管理器

使用 cachemgrd 命令来启动高速缓存管理器守护程序。

语法:

>>-cachemgrd----c--config_file---------------------------------><
 

参数:

cachemgrd
命令关键字。

config_file
指定一个文件名称,在该文件中定义高速缓存管理器以及高速缓存管理器所管理的每个高 速缓存。Net.Data 装运的配置文件是 cachemgr.cnf

示例:

cachemgrd -c myconfig.cfg

停止高速缓存管理器

使用 cacheadm 来停止高速缓存管理器。

语法:

>>-cacheadm----+---------------------+---+-----------------+---->
               '-hostname--hostname--'   '-port--port_num--'
 
>----terminate-------------------------------------------------><
 

参数:

cacheadm
命令关键字。

hostname
指定高速缓存所运行的机器的名称,如果该机器不同于发出 cacheadm 命 令的机器的话。

port_num
指定高速缓存端口号码,如果该号码不同于缺省值 (7175) 的话。

terminate
指定要停止高速缓存管理器。

示例:

cacheadm hostname host1 port 7178 terminate 


[ 页的顶部 | 上一页 | 下一页 | 目录 | 索引 ]