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

Re: How to trace why a process is running?



On Mon, Feb 08, 1999 at 06:23:46PM -0800, Eric House wrote:
> 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?

I guess /etc/cron.daily/find was running, it is started by cron 
to update the database used by 'locate'.

You should use 'ps fax', ax to see all processes and f to see the
relationship between them.

Regards,
Lipo

-- 
Roland E. Lipovits
Vienna, Austria


Reply to: