Empresa engajada
How do you know how much memory your java application is taking on Linux?
Sigiloso
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
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.