Kill process by name

killall <name>

Find process id

By ps

Identify running processes from all users:

ps -aux | grep <name>

Obtain just the header:

ps aux | sed -n -e 1p

which results in

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

By pidof

pidof <name>

By pgrep

pgrep <name>