How can I find a specific process with “top” in a Mac terminal

前端 未结 8 1708
执笔经年
执笔经年 2021-02-01 02:18

I\'ve tried top | grep skype for example but it doesn\'t work. I\'m trying to find a specific process by name.

8条回答
  •  广开言路
    2021-02-01 02:49

    Use: top -l 0 | grep Skype

    The 0 is for infinite samples. You can also limit the number of samples to a positive number.

提交回复
热议问题