Finding path of executable file from process that running

when i giving command ps aux sometimes it show processes that didn't include the full path of the executable file like chkservd or cpsrvd:

root 12882 0.0 0.4 13092 2356 ? S 04:25 0:01 chkservd
root 25610 0.0 2.0 13888 10372 ? S 15:06 0:00 cpsrvd - waiting for connections

how to know where is the location of chkservd or cpsrvd path? what command?
because sometime i found wierd user process and i want to know what script that runned.

i've been try command 'whereis' but it didn't giving any path.

 

 

 

 

Top