How to see what files a java application is accessing, especially, writing? I figure this is possible, but I am missing it, because appd can detect backend activities such as jms and jdbc. Thanks.
Hi, JB,
Those are interesting ideas and would work if I had access to the code. The application I am dealing with is a blackbox that writes log/tmp files to locations that are dynamically set and have randomized pathnames. I'll need to grab stacktraces to identify the classname.methodname, but even that won't work if the classes are loaded dynamically from the network via a custom classloader.
Cheers
K
then lsof is your only remaining friend, isn't it?
JB,
lsof will work - but do I have to log in to the host or can appd help?
Thanks
Kenny