1

Possible Duplicate:
How can I log all process launches in Linux

Due to a freeze problem of my UbuntuĀ 10.10 (Maverick Meerkat) (it is not isolable), I though about logging every executable of the kernel somehow in any file to see what happens last when a freeze occurs the next time to not lose valuable information.

I found acct, but this is obviously not what I'm looking for. Actually it logs just user commands and those things. I need something which logs in a much "deeper" level. The best would be some kind of script which records every interrupt. Does some tool like that exist?

Bevor
  • 329

2 Answers2

1

You might try a 'ps' -aux that will list all processes running on the system at a point in time. You could put it into a shell script to iteratively run over time, probably with a sleep in between iterations.

A 'top' runs continuously and lists the largest users of system resources. It also has flags that can tailor its output (man top or man ps).

apolinsky
  • 111
0

Gilles' comment was the solution:

Maybe you can get a kernel core dump. See also CrashdumpRecipe and other Ubuntu kernel debugging topics.

Bevor
  • 329