I'm working on a daemon written in Java. I want to figure out a way I can still run /usr/bin/java but when using top/ps it shows a different name. I've tried creating a hardlink and a symbolic link to java and calling the link instead of java itself but no such luck.
I wouldn't be surprised if it's not possible to do this but I figured I'd see if any gurus on here knew. The distribution is Debian 5. The reason I want to do this is so it's easier to figure out which process is related to the daemon without checking the pid file.
Thanks in advance