Guest User

Hello.

I have a question about library setting to monitor the CPU.

OS version is
HP-UX spd-a1 B.11.11 U 9000/800 64b

When I tested the libjennifer20.hp11.11_64.sl file in the HP folder,


psd_max_proc_cnt=8, psd_proc_cnt=8, _SC_CLK_TCK=100,

1000000000 Hz

Wmon20 loaded successfully.

Jennifer3.2.0.2(2007-08-29) libjennifer20.so(sl) shared

library loaded successfully.

USER SYS NICE WAIT IDLE USER SYS NICE WAIT IDLE

get_pid=3388

get_ppid=3386

get_ncpu=8

get_cpucluck=1000000000

get_native_thread_id=7611861

get_current_thread_cpu_time=330

get_thread_cpu_time=330

get_total_mem=-28311552

get_free_mem=1238130688

get_jvm_mem=312258560

0.0 0.0 0.0 0.0 100.0 0.0 0.0 0.0 0.0 100.0

total_cpu: 6616866,4159067,1383313,1496601,168821414,

jvm_total_cpu: 6,2,1459821728,0,-1,

get_current_thread_cpu_time=350

7.7 0.0 0.0 0.0 92.3 1.0 0.0 0.0 0.0 99.0

total_cpu: 6616867,4159067,1383313,1496601,168821426,

jvm_total_cpu: 7,2,1459821829,0,-1,

get_current_thread_cpu_time=350

8.3 0.0 0.0 0.0 91.7 0.0 0.0 0.0 0.0 100.0

total_cpu: 6616868,4159067,1383313,1496601,168821437,

jvm_total_cpu: 7,2,1459821930,0,-1,

get_current_thread_cpu_time=350

get_current_thread_cpu_time=350

get_thread_cpu_time=35


the data is transmited and copied the file in the java library path.(JEUS/lib/system Folder)

In the log, the below message is appeared.
libjennifer20.so(sl) shared library loaded failed: java.lang.UnsatisfiedLinkError: /app11/tmax/jeus/lib/system/libjennifer20.sl: specifi
ed handle or index is not valid.

What’s the problem?
One more, when I tested, some file has a message as “Wmon20 loaded successfully”.

Khalid Saeed

Jennifer uses JNI to bring CPU and Memory data. If this module fails to load the data, you can’t see cpu and system memory usage.

You have to check the following.

1. Is the Java used in JEUS same that in test.sh.

2. Is -d64 added in command option of JEUSMain.xml. You have to test it after adding -d64 in test.sh as well.

3. Check that the file’s permission is 755. (RISC is no matter…)