find the origin of a process

Rick Stevens ricks at nerd.com
Tue Oct 19 22:43:12 UTC 2010


On 10/19/2010 03:12 PM, L wrote:
> Hi
> Look at the below processes. DavMail started at boot up. This is not
> proper because User's desktop does not start. I want DavMail started
> after user login to the desktop.
>
> I need to stop this process from auto starting. I need to find where
> this process was called.
> The process 1 is /sbin/init I can't find where it calls  ./davmail.sh
>
> USER1   2072     1  0 08:51 ?        00:00:00 sh ./davmail.sh
> USER1   2288  2072  0 08:51 ?        00:00:02 java -cp
> ./davmail.jar::./lib/activation-1.1.jar:./lib/commons-codec-1.3.jar:./lib/commons-collections-3.1.jar:./lib/commons-httpclient-3.1.jar:./lib/commons-logging-1.0.4.jar:./lib/htmlcleaner-2.1.jar:./lib/jackrabbit-webdav-1.4.jar:./lib/jcifs-1.3.14.jar:./lib/jdom-1.0.jar:./lib/junit-3.8.1.jar:./lib/log4j-1.2.15.jar:./lib/mail-1.4.1.jar:./lib/slf4j-api-1.3.1.jar:./lib/slf4j-log4j12-1.3.1.jar:./lib/stax-api-1.0.1.jar:./lib/swt-3.6-gtk-linux-x86_64.jar:./lib/wstx-asl-3.2.7.jar:./lib/xercesImpl-2.8.1.jar
> davmail.DavGateway

Check /etc/rc.d/init.d and see if it's called out in a file there.
Also check the /etc/rc.d/rc.local file.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-     I.R.S.: We've got what it takes to take what you've got!       -
----------------------------------------------------------------------


More information about the users mailing list