Is there a Command-line Tool (Linux) to check Heap Size (and Used Memory) of a Java Application?
I have tried through jmap. But it gives info. about internal memory areas like Eden/ PermGen etc., which is not useful to me.
I am looking for something like:
- 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 JConsole etc., but I need a command-line tool (can't enable JMX etc.)
Do you know any such a tool/ command?