分类目录归档:服务器

Linux服务器配置和管理

The APR based Apache Tomcat Native library which allows …java.library…异常

转自:http://wander312.iteye.com/blog/1132975

tomat在linux服务器上启动报The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0_26/jre/lib/i386/server:/usr/local/jdk1.6.0_26/jre/lib/i386:/usr/local/jdk1.6.0_26/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
异常解决方法: 继续阅读The APR based Apache Tomcat Native library which allows …java.library…异常

查看Linux内存和CPU占用情况

1. 按进程查看:top命令即可,然后可以Shift+m按内存占用比例排序;Shift+p可按CPU占用比例排序;

2. 查看总体占用情况:free -m

total       used     free   shared buffers  cached
Mem:          1010       956      54      0         153       296
-/+ buffers/cache:      506      503
Swap:         0            0          0