I have been out for sometime for blogging but now back was busy with workload in office and also Luv you and me webseries. We have started a chat show titled Good Times on our Alok Film Production Youtube channel. Please feel free to watch,share & subscribe. Please feel free to post your comments,inputs,suggestions to improvise our chat show which would also cover real life heroes soon too. So please stream now on
I am back with a linux post as was hell occupied with work. I am sharing a simple story where I had a bottleneck of knowing some processes which were up and running for how much time. This helps in monitoring purposes and many of you might be knowing about it but I thought worth sharing. There was one java process which got killed and was restarted this gave me a ticket to debug further and then got to know that we have a command to know how much time the specific process was up and running.
First identify the process id of your process with it’s name.
#ps -ef |grep httpd
identify the pid no from the above command.
#ps -eo pidno,etime
50:08 elasped time
Here elapsed time shows that the process apache(httpd) was up and running from 50 minutes 8 seconds.
It has been great to be back to blog again after a while. Ofcourse this post is not technicalbut related to my new webseries which has action,romance,adventure,thrills and what not. Please see the first promo flyer. I am playing Luv Singh a dashing business tycoon. All episodes on Diwali. So please share,love and subscribe. On every view 2rs would be utiilzed for cancer patients and other noble causes from our production team. Enjoy & Cheers
I have been asked questions that is there an alternative for SSL certificates. Well it’s nice to have one i.e LetsEncrypt which gives you free SSL for atleast 90 days on your registered domain. Not only this you can use this certificate on Amazon Web Services Load Balancer and also on MS Azure cloud portals.
I personally have tried it and you can use the certbot utility to generate certificates for your domain. Not only certbot command lets you generate certificates but also helps you to auto deploy it with nginx/apache webservers too without any hiccups also firing a rewrite rule for redirecting traffic from http to https too.
On the renewal date certbot renew can be used to renew your domain SSL Certificates too.
To understand and implement LetsEncrypt for say your wordpress site you can use the following link :-