This question is based on this thread.

How can you see the processes which you put to background?


They will show up in a pstree

For example:

pstree -a -h
| improve this answer | |
  • @rkt: Thank you for your answer! --- I use OS/X. It does not have the options -ah. What is their purpose such that I can find them? – Léo Léopold Hertz 준영 Jul 2 '09 at 20:36
  • -a = show command line arguments, -h = highligt current tree . – rkthkr Jul 3 '09 at 6:14

The usual way is jobs. However, jobs doesn't see background processes which have been disowned, because they aren't attached to your shell any more. For those, you'll have to look at ps in some form or another, perhaps ps -u, depending.

| improve this answer | |
  • @chaos: Is there any way to get more information about the processes? --- I have dpaste.com/62613 which would not suggest me that there is an installation going on if I did not know that. – Léo Léopold Hertz 준영 Jul 2 '09 at 19:40
  • 2
    Chaos put it best. ps -u $username. So if I am logged in as kyleh, I do "ps -u kyleh" to see what is running under my login. – Kyle Jul 2 '09 at 19:43
  • 1
    ps aux gives me more info. --- The problem is then to get the significant info. – Léo Léopold Hertz 준영 Jul 2 '09 at 19:43
  • I opened a new question to know how to get significant info about the command: serverfault.com/questions/35260/… – Léo Léopold Hertz 준영 Jul 2 '09 at 19:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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