I have written a shell script to check the specific program is run or not,i have put shell script into crontab where it have schedule for every 1 min .Suppose to program is not run, that time script start the program.On other hand one more situation where my program is running in this particular time my cronjob continuously run.
Here i'm seeing shell script taking show much cpu utilization and it
At this moment, my computer can never SIGTERM processes, it just says [FAIL] so it SIGKILL's them. I don't like this because it takes much longer when shutting down the computer. I don't have KDE and I'm not using systemd.
Question related to configuring cloudwatch and auto scaling. I have an ec2 instance ( Instance 1 ) hosting a website , of which I have also created an AMI ( Image 1). I woud like to configure a system so that when the Instance 1 is completely degraded, I want to start a new instance ( Instance 2 ) from Image 1. Hence no load balancer is needed .
I currently have one EC2 instance that is starting to send alerts for high CPU usage. I want to create another instance and use this instance for the database and keep my existing instance for the web server.