Question: what is the difference between ps and top with command output?
Answer: top allows you display of process statistics continuously until stopped vs. ps which gives you a single snapshot. 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.