Do we have the Command-line Tool (Linux) to check the Heap Size (and Used Memory) of the Java Application?
I have tried through the jmap. But it gives info. about the internal memory areas like Eden/ PermGen etc., which is not useful to me.
This is what I am looking for:
- Max Memory: 1GB
- Min Memory: 256 MB
- Heap Memory: 700 MB
- Used Memory: 460 MB
That's all. I know that I can see this in the JConsole etc., but I need the command-line tool (can't enable JMX etc.)
Do you know any such tool/ command?