???Java?е????й?
???????????? ???????[ 2015/12/18 10:26:25 ] ??????????????? ???
?????????????????й??????????????????Щ??????????????????????????
?????????????????????????????
????while ( sleep 1 ) ; do ps -p $PID -o %cpu??%mem??rss ; done
??????????е??????New Relic??
??????????????????????????????????????á???????????????JVM??????????????????????????????????????????????????
????java -XX:+PrintFlagsFinal -version | grep -i HeapSize
?????????Щ?????????????????????????????JVM????????á????????????????????С?????С??
????java -Xms128m -Xmx256m
??????????????????????????????????????????????????????????????????????????????????????????????????????????????
????jmap -histo $PID
?????????????????????????????????????????ж??????
????jmap -dump:format=b??file=/tmp/dump1.hprof $PID
????????????????????????????????????jhat???????????
????jhat -baseline /tmp/dump1.hprof /tmp/dump2.hprof
??????????????????HTTP??????????????????????????????????????????????????£?HTTP?????????7000?????????????????з???????
??????????з?????????????SSH????????????????????????????????
????ssh -L 7000:localhost:7000 $HOST
???????1??????????????????????????????????
????Show heap histogram
????Show instance counts for all classes (excluding platform)
????????????????????????????“??”???????????????й???????????Щ????????????£?
??????????????????????????е?????????????????????????й??????????????????????
??????
???·???
??????????????????
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