I’m currently working on my first deployment of a large server side application which is written in Java. There is continuous console output which I would like to occasionally monitor and verify that is running, and ideally receive an alert if it crashes for whatever reason.
If I SSH into the server and execute the executable and then logout of that session, I believe it terminates that executable. How then, do I launch the executable and allow it to run even if my client computer isn’t logged in 24/7? Will I be able to tap into the executable’s output when I do want to see it?
I have a basic alert set through AWS that will alert me if network traffic drops below 2kb/s. What else can I set up besides that?
Nothing to do with AWS. You can assume your EC2 instance as remote machine. If it’s Unix based machine. It’s simple. SSH to your machine and…
Run your executable as
If you ever want to see the output SSH to the machine and use
vito see running log use
tail