LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   process viewing (https://www.linuxquestions.org/questions/linux-newbie-8/process-viewing-4175421991/)

unixor 08-14-2012 05:15 AM

process viewing
 
hello!

top command doesnt display a process that ps command does and vice versa

can anyone tell me the difference please and point me to a command that is universal and complete in process viewing

thanks!

druuna 08-14-2012 06:07 AM

The ps command does show all processes, but you do need to use the appropriate options. Here are 2 possible ways:
Code:

ps aux
# or
ps -ef

Top also shows all processes, but your terminal size will cut off the bottom part.

Have a look at both the top and ps man pages for available options.


All times are GMT -5. The time now is 09:17 AM.