How to produce a core

From: gshan
Date: Wed May 23 2007 - 23:28:28 EST


This morning, I tried command "kill -7 [pid]" but didn't see the core file. Anybody has ideas?

bash-2.05b# ps
PID USER COMMAND
1 0 init 2 0 [ksoftirqd/0]
3 0 [watchdog/0]
4 0 [events/0]
5 0 [khelper]
6 0 [kthread]
36 0 [kblockd/0]
38 0 [kseriod]
50 0 [pdflush]
51 0 [pdflush]
52 0 [kswapd0]
53 0 [aio/0]
171 0 -sh 174 0 [rpciod/0]
182 0 bash 198 0 gdi_trans 16777471 0 0 12 1 0 10000 8000 0 0 0 1 1 204 0 ps bash-2.05b# kill -7 198
bash-2.05b# ps
PID USER COMMAND
1 0 init 2 0 [ksoftirqd/0]
3 0 [watchdog/0]
4 0 [events/0]
5 0 [khelper]
6 0 [kthread]
36 0 [kblockd/0]
38 0 [kseriod]
50 0 [pdflush]
51 0 [pdflush]
52 0 [kswapd0]
53 0 [aio/0]
171 0 -sh 174 0 [rpciod/0]
182 0 bash 205 0 ps [1]+ Bus error gdi_trans 16777471 0 0 12 1 0 10000 8000 0 0 0 1 1


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/