还是 opatch lsinventory 好用
C:\Oracle\Middleware\ohs\OPatch>opatch lsinventory Oracle Interim Patch Installerバージョン11.1.0.9.9 Copyright (c) 2012, Oracle Corporation. All rights reserved。 Oracle Home : C:\Oracle\MIDDLE~1\ohs Central Inventory : C:\Program Files\Oracle\Inventory from : n/a OPatch version : 11.1.0.9.9 OUI version : 11.1.0.9.0 Log file location : C:\Oracle\MIDDLE~1\ohs\cfgtoollogs\opatch\opatch2017-05-24_1 6-20-00午後_1.log OPatch detects the Middleware Home as "C:\Oracle\Middleware" Lsinventory Output file location : C:\Oracle\MIDDLE~1\ohs\cfgtoollogs\opatch\lsi nv\lsinventory2017-05-24_16-20-00午後.txt -------------------------------------------------------------------------------- インストールされた最上位製品(1): Oracle WebTier and Utilities CD 11.1.1.7.0 このOracleホームには1の製品がインストールされています。
httpd -version 的话,凑活吧。
C:\Oracle\Middleware\ohs\OPatch>cd /d C:\Oracle\Middleware\ohs\ohs\bin C:\Oracle\Middleware\ohs\ohs\bin>httpd -version Server version: Oracle-HTTP-Server/2.2.22 (Win64) Server built: Jan 22 2013 20:01:01 Server label: unknown