jps查看进程号
jcmd 8172 help
列出可以执行的命令
jcmd 8172 VM.flags
jcmd 8172 VM.flags 替换 jinfo -flags 8172 其他命令也可以自行替换试一下