From: JeanDagenais2 <sig...@hy...> - 2010-11-17 07:16:33
|
Hello, After a while ... I am back working on Solaris 9 servers, and this is the output of the command which fail when running with Sun JDK 64 bits, but work with JDK 32 bits. The problem is when I run with SUN JDK 32 bits, then I miss the memory usage of 64 bits processes... This is the output when it work OK: cib-ratedb1{a112695}965: truss -f '-t!open,stat' java -jar sigar.jar ifconfig 2>&1 | grep ENOENT 24842: access("/usr/j2se/lib/sparc/libjava.so", 0) Err#2 ENOENT 24842: access("/usr/j2se/lib/sparc/libjava.so", 0) Err#2 ENOENT 24842/1: resolvepath("/usr/j2se/jre/classes", 0xFFBFCBA0, 1024) Err#2 ENOENT And the extract of the log: 24466/1: so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", 1) = 6 24466/1: ioctl(6, 0xC0086914, 0xFFBFD3C0) = 0 24466/1: close(6) = 0 24466/1: so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", 1) = 6 24466/1: ioctl(6, 0xC020690D, 0xFFBFD820) = 0 24466/1: ioctl(6, 0xC0206919, 0xFFBFD820) = 0 24466/1: ioctl(6, 0xC0206911, 0xFFBFD820) = 0 24466/1: ioctl(6, 0xC078697A, 0xFFBFD6A8) = 0 24466/1: ioctl(6, 0xC020691B, 0xFFBFD820) = 0 24466/1: close(6) = 0 lo0 Link encap:Local Loopback24466/1: write(1, " l o 0\t L i n k e n c".., 29) = 29 This is the output when there is an error: cib-ratedb1{a112695}964: truss -f '-t!open,stat' java -d64 -jar sigar.jar ifconfig 2>&1 | grep ENOENT 24737: access("/usr/j2se/lib/sparcv9/libjava.so", 0) Err#2 ENOENT 24737: access("/usr/j2se/lib/sparcv9/libjava.so", 0) Err#2 ENOENT 24737/1: resolvepath("/usr/j2se/jre/classes", 0xFFFFFFFF7FFFAD98, 1024) Err#2 ENOENT 24737/1: ioctl(6, 0xC008695C, 0xFFFFFFFF7FFFBBB0) Err#2 ENOENT And the extract of the log: 24486/1: lwp_cond_wait(0x100115D58, 0x100115D40, 0x00000000) = 0 24486/6: lwp_park(0x00000000, 0) (sleeping...) 24486/1: so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", 1) = 6 24486/1: ioctl(6, 0xC008695C, 0xFFFFFFFF7FFFBBB0) Err#2 ENOENT 24486/1: lwp_cond_signal(0x100116398) = 0 24486/8: lwp_cond_wait(0x100116398, 0x100116380, 0x00000000) = 0 24486/8: lwp_schedctl(SC_PREEMPT, 0, 0xFFFFFFFF2EFFFBC8) = 0 24486/8: lwp_self() = 8 24486/8: lwp_schedctl(SC_PREEMPT, 0, 0xFFFFFFFF2EFFFBC8) = 0 24486/8: lwp_self() = 8 24486/8: lwp_mutex_lock(0xFFFFFFFF7EB79558) = 0 No such file or directory24486/1: write(2, " N o s u c h f i l e".., 25) = 25 |