In the process picker, the process name is shown as /bin/bash | bash, but in the monitor window the same process appears as "mozilla". Confusing. PS shows: $ ps auxw | grep 2504 cagney 2504 0.0 0.1 4396 1104 ? S 11:35 0:00 /bin/sh /usr/lib/thunderbird-1.5.0.10/thunderbird
one name was coming from argv[0], and the other from the file name of the file pointed to by /proc/{pid}/exe. Now both use the exe. 2007-03-14 Sami Wagiaalla <swagiaal@redhat.com> * druid/CreateFryskSessionDruid.java: Initialized initialSessionName. 2007-03-14 Sami Wagiaalla <swagiaal@redhat.com> * SessionProcDataModel.java: used guiProc.getExecutablename() instead of proc.getCommand() for initializing process name. Fix for bz #4165.
Where did the "mozila" name come from? Having both visible in the process-picker will help with correct process selection.