Getting list of pids and process names
Apparently I'm blind.

 -c      Change the ``command'' column output to just contain the executable name, rather than the full
         command line.


ps auxc works just fine. 

USER               PID  %CPU %MEM      VSZ    RSS   TT  STAT STARTED      TIME COMMAND
lrogalsk         18670  15.6  1.4  3913100 241624   ??  Ss   12:12PM   0:09.93 com.apple.WebKit.WebContent