Java Heap memory usage using jmap and jstat command

  Login to your Linux/Unix Server Enter the below command to get the JAVA PID running on the server.                           ps –ef|grep –i java From the output take the application JAVA PID. Using jstat command with gc option to find out the JVM … Continue reading Java Heap memory usage using jmap and jstat command

Advertisements

How to generate a private key for a certificate(.jks/.crt) file – Unix/Linux

  To generate the Private key from the .jks file from linux/unix server. We can use keytool and openssl utility to generate the private key from a .crt/.jks file. Command to use: Go to the location where your certificate file is located. Using Keytool command generate keystore file keytool -v -importkeystore -srckeystore keystore.jks -srcalias keyalias … Continue reading How to generate a private key for a certificate(.jks/.crt) file – Unix/Linux