Actieve werkgever
How do you know how much memory your java application is taking on Linux?
Anoniem
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
Volg de bedrijven van je dromen om als eerste op de hoogte te zijn van vacatures en te profiteren van tips van insiders.
Zoek naar vacatures om gepersonaliseerde vacature-aanbevelingen en -updates te krijgen.