Memory and CPU
What is the heap size of my java application
Native memory tracking
Parameters of a running JVM
You can use jps
1
Default heap size
On a Unix/Linux system, you can do 2
How much memory does my machine have
The best way to find out RAM information such as amount of free and used memory in the system is to open a terminal and type the following command3
How many cpus does my machine have
1. Getting the parameters of a running JVM, by Peter Lawrey (15 Mar, 2011) stackoverflow ↩
2. How is the default Java heap size determined?, by stones333 (14 Dec, 2012) stackoverflow ↩
3. How Much RAM does my Ubuntu / Fedora Linux desktop PC have?, (25 Apr, 2007) nixCraft ↩
Last updated