Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a screen with a critical process running in it. I can't kill it, but I need to know the command that was used to start it. Can anyone offer a solution?

share|improve this question

If your long running critical process is running in screen then Ctrlac will start a new screen.

You can then find the command line for the process with

ps -efww

which should show you the complete command line.

If it's not running in screen you can try Ctrlz followed by bg to suspend the command the put it in the background.

share|improve this answer
Or just log in again ;-) – vonbrand Feb 23 '13 at 4:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.