对于/opt/gnode/server/bin及/opt/gcuster/server/bin
路径下的程序文件,通过-V或--version选项可以查询到该组件的版本信息;
[root@zhfx1 /]# rpm -qa | grep gcware
gcwarelib-1.2.9-14.el6.x86_64
gcware-1.2.9-14.el6.x86_64
[root@zhfx1 /]# gccli -uroot
gbase> show variables like '%version%';
+-------------------------+-------------------+
| Variable_name | Value |
+-------------------------+-------------------+
| gcluster_hash_version | 1 |
| protocol_version | 10 |
| version | 8.5.1.2 |
| version_comment | 24466 |
| version_compile_machine | x86_64 |
| version_compile_os | unknown-linux-gnu |
+-------------------------+-------------------+
[root@zhfx1 /]# gncli -uroot
gbase> show variables like '%version%';
+-------------------------+-------------------+
| Variable_name | Value |
+-------------------------+-------------------+
| protocol_version | 10 |
| version | 8.5.1.1 |
| version_comment | 1.5.8.24010 |
| version_compile_machine | x86_64 |
| version_compile_os | unknown-linux-gnu |
+-------------------------+-------------------+
[root@zhfx1 /]# /opt/gnode/server/bin/gc_sync_server --version
[root@zhfx1 /]# /opt/gnode/server/bin/gc_sync_client --version
VERSION
8.5.1.2.4.4.22341.17099
[root@zhfx1 /]# /opt/gcluster/server/bin/gcdatarecover --version
/opt/gcluster/server/bin/gcdatarecover Ver 8.5.1.2 for unknown-linux-gnu on x86_64 (24466)
[root@zhfx1 /]# /opt/gcluster/server/bin/gcmetarecover --version
/opt/gcluster/server/bin/gcmetarecover Ver 8.5.1.2 for unknown-linux-gnu on x86_64 (24466)
[root@zhfx6 dispatch_server]# ./dispserver --version
version: 1.1
svn revision: 22340
zeromq version: 2.1.4
[root@localhost ~]# /opt/gnode/server/bin/gbloader -V
/opt/gnode/server/bin/gbloader Ver 8.5.1.2.build26588 for unknown-linux-gnu on x86_64