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
Now you can use pgrep skype to find the process.
pgrep skype