How to trace why a process is running?

1999-02-09 Thread Eric House
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

Re: How to trace why a process is running?

1999-02-09 Thread Jolyon Suthers
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

Re: How to trace why a process is running?

1999-02-09 Thread Roland E. Lipovits
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

Re: How to trace why a process is running?

1999-02-09 Thread John Hasler
Eric House writes: 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. About 5AM? probably cron running updatedb to update the database used

Re: How to trace why a process is running?

1999-02-09 Thread Dale E. Martin
Eric House [EMAIL PROTECTED] writes: Question: how do I figure out who started that 'find' and why? Check out pstree. It can show you what process spawned it, and you can get its pid. Then you can do something like ps aux | grep pid and get all of the details on that process. Later,