Saturday, July 29, 2017

▷ Software version (소프트웨어 버전)

[ To find a software version ]


Apache ${BIN_HTTPD} -version | grep -i version | tr '/' ' ' | awk '{ print $4 }
WebToB ${WEBTOBDIR}/bin/wsadmin -version | grep WebtoB | sed -e 's/Version//' -e 's/\// /g' | awk ' { print $2,$3,$4,$5,$6 }' 
WEBLOGIC java -cp ${WLS_HOME}/lib/weblogic.jar weblogic.version | grep "WebLogic Server" | awk '{ print $3,$NF }' 
JEUS ${JEUS_HOME}/bin/jeusadmin -version | grep -i JEUS | sed -e '/^$/d' | awk '{ print $2, $3, $4 }' | sed -n '/^[0-9]/p' 
ANYLINK ${ANYLINK_HOME}/bin/alversion.sh -v | grep -i version | awk '{ print $2,$3 }' | tr -d '[]' 
TMAX ${TMAXDIR}/bin/tmadmin -version | grep -i version | cut -d' ' -f5-9 | tr -d ','
TUXEDO ${TUXDIR}/bin/tmadmin -version > /tmp/tuxedo.out 2>&1; cat /tmp/tuxedo.out | grep -i version | awk '{ print $5 }' | tr -d ',' 
ORACLE sqlplus -V | grep Release | awk '{ print $3 }'
TIBERO tbsql -v | grep tbSQL | awk '{ print $2,$3 }'
MySQL mysql --version | egrep -i 'mysql|ver' | awk '{ print $3, $5 }' | tr -d ','
OpenView ${OV_PATH}/ovc -version | awk '{ print $NF }' 
NetBackup cat /usr/openv/netbackup/bin/version | awk '{ print $2 }' 
SQL-Backtrack cat /usr/sqlbt/obacktrack/VERSION | tr '-' ' ' | awk '{ print $7, $9, $10 }'
Ignite-UX swlist -l product Ignite-UX | grep "Ignite-UX" | awk '{ print $2 }' 
VxVM (HP-UX) swlist -l product VRTSvxvm | grep VRTSvxvm | awk '{ print $2 }'
(AIX) lslpp -L all | grep -iw VRTSvxvm | awk '{ print $2 }'
(SunOS) pkginfo -l VRTSvxvm | awk '/VERSION/ { print $2 }' | tr ',' ' '
(Linux) rpm -qa VRTSvxvm | awk -F- '{ print $2 }' 
VCS/CFS (HP-UX) swlist -l product VRTSvcs  | grep VRTSvcs  | awk '{ print $2 }'
(AIX) lslpp -L all | grep -iw VRTSvcs  | awk '{ print $2 }'
(SunOS) pkginfo -l VRTSvcs  | awk '/VERSION/ { print $2 }' | tr ',' ' '
(Linux) rpm -qa VRTSvcs  | awk -F- '{ print $2 }' 
MC/SG swlist -l product | grep ServiceGuard | awk '{ print $2 }' 
RAC ${DBIN_DIR}/crsctl query crs softwareversion | grep Clusterware | head -1 | awk '{ print $NF }' | tr -d '[]'
(Oracle 12 or higher) ${DBIN_DIR}/crsctl query has softwareversion | grep "High Availability" | awk '{ print $NF }' | tr -d '[]' 

No comments:

Post a Comment

◈ Recent Post

▷ UITest demo with TestOne (Mobile, Keypad and Drag until found tip)

[ UITest Demo Environment ] 1. UITest Solution: TestOne 2. Description 데모 설명    How to use keypad, and to drag until found.     키패드를...

◈ Popular Posts