I\'ve tried top | grep skype for example but it doesn\'t work. I\'m trying to find a specific process by name.
top | grep skype
Use: top -l 0 | grep Skype
top -l 0 | grep Skype
The 0 is for infinite samples. You can also limit the number of samples to a positive number.