In this quick article, we are presenting you with the shell script to start and stop PostgreSQL DB instance. You can use these scripts as part of rc.d or init.dto be executed during the server shutdown and boot up. Feel free to modify it further to suit your needs. Hope[...]
Read moreCategory: Shell Scripting
Convert Key=Value Pair into JSON with AWK - Shell | Devops Junction
How to convert a key-value pair into JSON. While there are many ways to programmatically do it. I often find myself doing this type of conversion quite often and I looked out for a simple solution. What can be simpler than having it done with the built-in tools of your[...]
Read moreGithub List All Repositories in Organization or Personal using REST API
I have been trying to get the complete list of Repositories private and public in my github account ( user + Organization ) using GITHUB rest api I had to create a CSV report of All repositories in a specific format like shown below. I have done similar thing earlier[...]
Read moreWhat is STDOUT and STDERR in Linux - echo to STDERR
Every command we run in Linux would either give output or throw an error. Sometimes we want the errors to be redirected into an output channel or you may want to redirect the STDERR to one file and STDOUT to a different file You might have come across these two[...]
Read moreHow to find High CPU Consuming Threads - Java Thread Top
The Objective Let it be any Application Server you use such as Weblogic, Websphere, Tomcat, Jboss, Glassfish. (or) Let it be any Java framework or architecture your web application is developed in like Spring MVC, EJB, JSF, DAO. When it comes to administrating the Java (J2EE) application ( WEB or[...]
Read moreRemote Server - File System Lister [Linux]
Have you ever had the requirement of logging in to the Nnumber of remote servers (without keybased authentication ) and get the mount point information and save it as CSV Report (or) Print it with a good console formatting. Then this is for you. Basically, It is a Shell script ([...]
Read more