I have a tool developed using java . This tool runs on a linux host. I only have terminal access to this host.
The data size that this tool processes is huge and i wish to see the heap usage or the total memory being used by this tool when it is running.
Is there any way that i could do this from the terminal.
Also could you please explain how to do the same when a program is running in eclipse.