???java?????????jvm??????
???????????? ???????[ 2014/3/24 10:33:39 ] ????????java ??? jvm
????1.jps??????????????java???????linux?μ?ps????????????
????2. jinfo: ??????jinfo -flagPermSize 2208(?????)
jinfo -flag MaxPermSize 2208(?????)
C:UsersWILL>jinfo
Usage:
jinfo <option> <pid>
(to connect to a running process)
where <option> is one of:
-flag <name> to print the value of the named VM flag
-flag [+|-]<name> to enable or disable the named VM flag
-flag <name>=<value> to set the named VM flag to the given value
-h | -help to print this help message
????3. jconsole 2208
?????÷?:
jconsole [ -interval=n ] [ -notile ] [ -pluginpath <path> ] [ -version ] [ connection ...]
-interval ???????????????? n ??????? 4 ??
-notile ?????????????????????????????????
-pluginpath ??? jconsole ???????????·??
-version ???????汾
connection = pid || host:port || JMX URL (service:jmx:<protocol>://...)
pid ?????????? ID
host ??????????? IP ???
port ???????????????
-J ?????????? jconsole ?? Java ????????
???????????
????4. jstack 2208?г??????????????????????
C:UsersWILL>jstack
Usage:
jstack [-l] <pid>
(to connect to running process)
Options:
-l long listing. Prints additional information about locks
-h or -help to print this help message
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11