Re: I want to log all processes when they start

phn_at_icke-reklam.ipsec.nu
Date: 09/23/04


Date: Thu, 23 Sep 2004 21:20:07 +0000 (UTC)

Jeff <jeff@rt.com> wrote:
> Hey guys, thanks for responding :-)

> Dave Hinz writes:
>> What are you actually trying to do? What's your goal?

> The system in question is a remote server, which I manage via ssh.
> From time to time, approximately once a month (thus evoking
> disparaging remarks about menstruation), the system kind of hangs.
> Frequently in these cases it will still respond to pings, but
> connections to http, smtp, and ssh just time out, so I have to arrange
> for a hard reboot. The discussion board for this remote data center
> is full of messages speculating about the cause of this problem (it
> happens to many, apparantly) blaming hardware, kernels, and the disk
> quota manager, among other things. I thought it best to try to do my
> own diagnosis, and I thought that finding out what is running at any
> given moment would be a good start.

> Peter Håkanson writes:
>> You could add some code to crt0.c but beware of huge amounts of
>> output. Be prepared with an alternate boot-media and an old
>> copy of crt0 lib.

> Hmm. I was hoping there was already some kind of utility. I can't
> believe I'm the first one in the history of unix to want to do this.
> As far as output goes, I imagined that I'd be dealing with about
> 100MB/day at the most -- well within my available disk space and
> bandwidth. Do you think this estimate is way off?

> Regards,

Sounds much safer to create a kernel with debugging enabled, and
dump the core to a post-mortem examination.

> Jeff

-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


Relevant Pages