简体   繁体   English

JAVA Memory 管理 | jvm | 查找 memory 的命令

[英]JAVA Memory Management | jvm | command to find memory

Need few clarity on below questions please.请对以下问题进行一些澄清。 1.How to check on production server how much is the total memory allocated to your JAVA application. 1.如何在生产服务器上检查分配给您的 JAVA 应用程序的总 memory 是多少。

2.How much memory is occupied by your java application among total memory. 2.您的java应用程序在memory中占用了多少memory。

3.what is the command we can use to check the memory available in linux/unix system. 3.我们可以用什么命令来检查linux/unix系统中可用的memory。

On linux, 'top' will show you memory used by running processes and 'free' shows you total and free memory.在 linux 上,'top' 将显示 memory 由正在运行的进程使用,'free' 显示总和免费 memory。 Check out the man pages for options and how to use.查看手册页以了解选项以及如何使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM