Last active
June 21, 2020 07:41
-
-
Save thegauravmahawar/b67c34b45f97dc823403484ae5f15af5 to your computer and use it in GitHub Desktop.
AWS EC2 - GC Checks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum whatprovides '*/jmap' | |
| yum install java-1.8.0-openjdk-devel-1.8.0.232.b09-0.48.amzn1.x86_64 | |
| sudo debuginfo-install java-1.8.0-openjdk-devel | |
| jmap -F -dump:live,format=b,file=/var/log/heapdump.bin pid | |
| jmap -heap pid | |
| gcore -o filename pid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment