Linux background task identify

i have 2 meteor build running on my ubuntu server using shell script.

now i have to update build to need to kill process before restarting

when i see all process using ps -ef it gives

501 4615 4614 0 Mon10AM ttys000 0:01.57 node main.js
501 4666 4665 0 Mon10AM ttys000 0:01.57 node main.js

is there any way to distinguish between these process where are their origin or path anything ?

any update on this ??