Reputation: 3260
I have set up an Amazon EC2 instance (Ubuntu 14.04), and I want to run some code compiled by gcc, my problem is that, if my code runs for a long time (2-4 weeks), how can I submit a job to my instance and monitor the job status? I want it to work just like I am submitting a job to a cluster managed by e.g. sun grid engine.
Anybody knows how to do this?
Upvotes: 0
Views: 181
Reputation: 17743
Based on our comments exchange, you are looking for nohup. e.g. nohup ./a.out &
and your process will run in the background: linux.101hacks.com/unix/nohup-command
Upvotes: 1