【解决】如何查看 xunsearch 版本,验证是否升级成功?

清泛原创
如何查看 xunsearch 版本,验证是否升级成功?
在执行完成升级向导后,提升升级成功,但是不确定是否已经成功升级,查看 /usr/local/xunsearch/bin 下面的二进制时间也不能确定。这时我们只能借助 xunsearch 程序的帮助提示来查看程序的内部版本号了,操作如下:
cd /usr/local/xunsearch/bin
./xs-indexd -h
参考结果如下:
xs-indexd (xunsearch/1.4.15) - Index Submit Server
Copyright (C)2007-2011 hightman, HangZhou YunSheng Network Co., Ltd.

Usage: xs-indexd [options]
  -F               Run the server on foreground (non-daemon)
  -H         Specify the working directory
                   Default: /usr/local/xunsearch
  -L    Larger the value to get more information, (1-7, default: 5)
  -b ||
                   Bind the server to adddress/port or path, (default: 8383)
  -l     Specify the log output file, (default: none)
                   E.g: tmp/xs-indexd.log, stderr
  -q          Set the queue size to commit, (default: 3000)
  -e     Set the external program path, (default: ./bin)
  -k [fast] Server process running control
  -v               Show version information
  -h               Display this help page

Report bugs to http://www.xunsearch.com/bugs
第一行就是内部版本号,是否升级成功一目了然~


分享到:
  网友评论(0)
 
回到顶部