/proc/$pid/exe
$pid
for proc in /proc/[1-9]*/; do pid=$(basename $proc); printf "%5d: %s\n" $pid $(readlink $proc/exe); done
/proc/$pid
Index