Calling for system-calls guru

F

fmarchioni

Hi all java users,
I'm interested to inspect the memory of my Solaris box when a Java
application is running.
I have read that -T <syscall> option of truss command stops the process
when a syscall is made.
Now the point is: which is the syscall issued when a Java method is
called ?
Can anybody give me an advice about it ?

Thanks a lot
Francesco
 
G

Gordon Beaton

I'm interested to inspect the memory of my Solaris box when a Java
application is running. I have read that -T <syscall> option of
truss command stops the process when a syscall is made. Now the
point is: which is the syscall issued when a Java method is called ?

No syscalls are involved when Java methods are invoked. If you want to
monitor the memory of your system, there are Solaris tools like
vmstat, top, or pmem for that. You haven't specified exactly what you
are trying to find, so it's hard to be more specific.

This may help:
http://www.sunhelpdesk.com/static.php?file=Memory_Troubleshooting.htm

This sounds like it might be more of an OS issue than a Java issue, so
xyou might have a look in comp.unix.solaris.

/gordon
 
F

fmarchioni

Hi Gordon
Thanks for your reply.
Actually I'm behind memory leaks. I'd like to monitor the memory
used by a Java application (with Solaris administration tools)
at a certain point. For example when a method is called or a
constructor is invoked.
I know that there are already some graphical tools that do this but
I'm more affectioned to the shell then to graphical tools.
Regards
Francesco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top