java -cp lib/catalina.jar org.apache.catalina.util.ServerInfo
콘솔에 위와 같이 치면
Server version: Apache Tomcat/7.0.35
Server built: Jan 10 2013 10:52:49
Server number: 7.0.35.0
OS Name: Linux
OS Version: 2.6.32-279.19.1.el6.x86_64
Architecture: amd64
JVM Version: 1.6.0_39-b04
JVM Vendor: Sun Microsystems Inc.
요딴 정보뜸.
EX)
톰캣 설치경로가
/usr/local/tomcat 이라면
java -cp /usr/local/tomcat/lib/catalina.jar org.apache.catalina.util.ServerInfo
치면됨. 끝~!
참쉽죵