Hello Here is my problem. I need to create a web service using jboss...in java.. It should send dtrace info... But the problem is that I don''t understant how i can use the dtrace java api... I look the exemple (Testapi.java) but i don''t understant how use de .d script in the java code.. If someone could help me...by posting a complet example which is calling a d script...it will be really good thx for your help. -- This message posted from opensolaris.org
/usr/share/lib/java/javadoc/dtrace/examples/TestAPI.java demonstrates "hello, world!", so although it is simple, it is a complete example of how to use a D program in Java. It sounds like you want the Remote Consumer API in dtracex.jar (DTrace API extensions) that comes installed with Chime: http://www.opensolaris.org/os/project/dtrace-chime/ It uses JMX and allows Chime to trace remote systems. Tom -- This message posted from opensolaris.org