Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.