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

ps command in unix/linux

$ ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND timothy 29217 0.0 0.0 11916 4560 pts/21 S+ 08:15 0:00 pine root 29505 0.0 0.0 38196 2728 ? Ss Mar07 0:00 sshd: can [priv] can 29529 0.0 0.0 38332 1904 ? S Mar07 0:00 sshd: can@notty   USER = user owning … Continue reading ps command in unix/linux

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