c - How to put name of new executable from fork/execlp in /proc exe or cmdline? -


i've got small test example creates fork(), has child launch new binary through execlp() function. works fine, when go @ things top/htop, see command field of new binary blank. /proc/[childpid]/exe entry links new binary, how can name of binary visible in top/htop?

thanks!

matt


Comments