LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Is there some way to see only the process running in the background? (https://www.linuxquestions.org/questions/linux-general-1/is-there-some-way-to-see-only-the-process-running-in-the-background-864545/)

longli 02-23-2011 09:54 AM

Is there some way to see only the process running in the background?
 
Is there some way to see only the process running in the background?



Thanks

rokytnji 02-23-2011 10:47 AM

Htop.

or in terminal

Code:

ps -ef | grep (name of process you are trying to see goes here)
Not sure. Since your post is lacking any info to work on for a member to respond to. At least for me.

You might want to download below pdf book and read at your leisure also.

http://www.ubuntupocketguide.com/index_main.html

longli 02-23-2011 08:39 PM

Thanks for your reply. Because I am working on a shell. When I type :

command &

I want to see whether this process is running in background



Quote:

Originally Posted by rokytnji (Post 4268661)
Htop.

or in terminal

Code:

ps -ef | grep (name of process you are trying to see goes here)
Not sure. Since your post is lacking any info to work on for a member to respond to. At least for me.

You might want to download below pdf book and read at your leisure also.

http://www.ubuntupocketguide.com/index_main.html


gilead 02-23-2011 08:50 PM

Do you mean the jobs command? If you run man bash and search for JOB CONTROL that will give more info.

tiredofbilkyyaforallican 02-23-2011 08:51 PM

You may have to install Htop but it does the job of telling you WHAT ALL is running. It is an excellent app.and I would be lost without it at times.


All times are GMT -5. The time now is 02:00 AM.