一、常用JVM监控调优命令
1. jps
:Java进程探查器
核心功能:快速定位运行中的Java进程
官方定义:
The jps command lists the instrumented Java HotSpot VMs on the target system. The command is limited to reporting information on JVMs for which it has the access permissions.
使用场景:
- 查看当前用户权限下的所有Java进程
- 获取进程PID用于后续诊断操作
标准语法:
jps [options] [hostid]
关键参数:
- <