Those commands are similar to what I'm running (except I don't run the kill command on anything first)
did you have the JDK on your mac? The jmap I'm running is a jmap I've put onto the Linux box specifically (the libjli.so was already there). Jmap wasn't on the box from the standard install, it is from a JDK I downloaded (which is supposed to be the same version of java which matches what's on the Linux box) I just copy the jmap file from the JDK stuff I downloaded. Is it possible that the libjli.so file that is already on the linux box is not the one the jmap from the JDK I downloaded expects perhaps? On Fri, Sep 16, 2011 at 1:31 PM, Gavin Baumanis <beauecli...@gmail.com>wrote: > Hi Barry, > > I have these notes for running jmap on my mac. > > // Check for this > ps -ef | grep hsdbd > > // if it is running - kill it; > sudo kill -9 <pid> > > // Get the PID of JRUN > sudo ps-ef | grep jrun > > // Map the heap. > sudo jmap -dump:format=b,file=heap.bin <pid> > > > Hope this helps. > > Gavin. > > > On Sep 16, 7:53 am, BarryC <barrychester...@gmail.com> wrote: > > Hi, > > > > I'm trying to do a heap dump on Linux, it's running Coldfusion 9 with > > JRun4, the JRE is 1.6.0_17 and it's all 64 bit. > > When I run the command > > ./jmap -dump:format=b,file=./memdump.bin 4001 > > > > it says "error while loading shared libraries: libjli.so: cannot open > > shared object file: No such file or directory" > > > > I'm running jmap from; > > /opt/jrun4/jre/bin/ > > > > but the libjli.so lives in > > /opt/jrun4/jre/lib/amd64/jli/ > > > > Should be fine but isn't, any ideas? > > > > Thanks > > Barry. > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaussie@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > > -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.