Tag Archives: linux

strace – trace system calls and signals

Nice little program that might be used in linux to find what files were open by the process. For example: strace ls 2>&1|grep “open”

Posted in unix | Tagged , , , | Leave a comment

How to find what application is using network port in linux?

netstat -nlp will give you an idea. [root@os]# netstat -nlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name tcp        0      0 0.0.0.0:9921                0.0.0.0:*                   LISTEN      10982/ora_d000_orcl tcp        0      0 10.10.10.10:1521           0.0.0.0:*                   LISTEN      12516/tnslsnr tcp        … Continue reading

Posted in unix | Tagged , , , , | Leave a comment

Checklist for linux server used for tomcat/java apps

Create tomcat user Update /etc/security/limits.conf to increase the number of open files limit for tomcat users. You need it if java apps opens a lot of files for caching or on busy website. tomcat soft nofile 16383 tomcat hard nofile … Continue reading

Posted in Check Lists | Tagged , , , , | Leave a comment