Loading...
Engaged employer
How do you know how much memory your java application is taking on Linux?
Anonymous
jps |awk "{print $1}" | xargs -L 1 ps -ef -o %mem
ps aux | grep -i
pmap or top is probably the simplest. Just be sure not to confuse virtual memory with physical.
Just search for the pid created by that java process. And then you get to know the memory usage by top or ps -ef/ps -auxx commands.
jvmtop is a command-line tool which provides a live-view at several metrics, including heap.
Ps -ef| grep - java
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.