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.

This question is based on this thread.

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

share|improve this question

2 Answers 2

up vote 3 down vote accepted

They will show up in a pstree

For example:

pstree -a -h
share|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? –  Masi 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.

share|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. –  Masi 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 Hodgson Jul 2 '09 at 19:43
1  
ps aux gives me more info. --- The problem is then to get the significant info. –  Masi 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/… –  Masi Jul 2 '09 at 19:53

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.