I want to fork my app into 4 processes and have a unique name for each one that shows up in `top`. Currently, top shows the same process name for each process (eg the name inherited from the parent process) which makes life difficult when trying to kill a specific process.
Is this even possible? I'm already using the argv[0] trick to change the command line for the forked processes but this doesn't show up in `top`.
I'm coding in C under Linux and Solaris by the way.