[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to trace why a process is running?



>Scenario: my machine is on but hasn't been used for several hours when
>I notice the hard drive taking lots of hits.  I log on and run 'top'
>which tells me a 'find', owned by root, is using 25% of the CPU.  'ps -ef',
>even as root, doesn't show the 'find'.
>
>Question: how do I figure out who started that 'find' and why?
The find task that you are describing is normally run by 'cron'; as part of
the
locate database system. As for tracking down the process - you should run
'ps -xaf' to show tasks that have been detached from a terminal.

Jolyon



Reply to: