1

This question is based on this thread.

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

3

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
5

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 | |

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.