操作命令

加载系统服务为
service install 服务名
卸载系统服务为
service remove 服务名


tomcat调优配置(未作测试)
tomcat6,jdk6
SET JPDA_OPTS-Xms1400m -Xmx1400m -Djava.awt.headless=true

maxThreads="1000" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
compression="on" compressionMinSize="2048"
compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>


D:\Apache2\bin>ab -n 10000 -c 1000 http://172.16.88.96:82/wb/main/book.jsp

你可能感兴趣的:(操作命令)