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'm accessing through ssh to a linux box. I was simply updateing the packages with yum update. I then disconnected but when I connnected again with ssh using the same account I couldn't now if the update process had already finished.

How can I know the status of tasks I've started before disconnecting when I reconnect to the server?

share|improve this question
up vote 0 down vote accepted

You can verify if anything is still running using

ps -aux | grep yum

But I'm pretty sure it will be killed as soon as you get disconnected.

If you need to run something after you leave use nohup

share|improve this answer
thanks for the help – doubter Dec 21 '10 at 22:09

What you really want to do is run this in screen.

Every day when I come into the office, I ssh to my development / db server and run screen -RD, which reconnects my session as if I had never disconnected. You should be able to yum install screen.

See to start, and for a comprehensive reference.

share|improve this answer

Use screen. Just start screen, do your stuff and when you got disconnected, run: screen -r or screen -Dr.

share|improve this answer

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.