Started an application through SSH, command line now gone, what happens next?

Posted by Chris Dutrow on Super User See other posts from Super User or by Chris Dutrow
Published on 2012-10-12T12:30:57Z Indexed on 2012/10/13 3:40 UTC
Read the original article Hit count: 160

Filed under:
|
|
|

Context: This is a very basic question

Using Putty and SSH for the first time to do some serious server setup and run into the situation where I have started a process that I do not want to stop.

The process is the gunicorn WSGI HTTP Server (running on Centos 6.3).

The command I used to start the process is (as per their Quick Start):

gunicorn -w 4 myapp:app

At this point in the work session, I have lost the command prompt. This must be such a non-issue that it doesn't even enter into an experienced user's consciousness. But unfortunately at my level of experience, I am left with several fundamental questions:

  • Does the fact that I have lost the command prompt mean that the process is still running?
  • How do I get back to the command prompt without killing the process?
  • How do I come back and monitor the process later?
  • How do I eventually kill the process?

Any help is appreciated, thanks so much!

enter image description here

© Super User or respective owner

Related posts about linux

Related posts about unix