What is the difference between ps and top command ? I see that both can display information about running processes . Which one should be used when ?
|
|
|||
|
|
|
|
|||
|
|
|
top enables you to see your processes ordered by the amount of processor power they use. ps enables you to see all your processes, or just the processes used by certain users, for example root or yourself. top should be used to see which processes are most active, ps could be used to see which processes you (or any other user) are running currently. for more information about how to use top and ps, run man top or man ps in your terminal ;) |
|||
|
|
|
|
||||
|
|