- 论坛徽章:
- 0
|
It is easy to disable or delete core file. But you need to find out which program and why it is generating the core files. Core files are the crash dump of applications and processes. They are abnormal. \r\n\r\nTo find out which program is generating the core file, type\r\n \r\ncoreadm -i core.%f \r\n\r\nNext time, if there is a process crash, the core file name will be core.program_name\r\n\r\nTo disable the core dump (not recommended), type:\r\ncoreadm -d process\r\n\r\nTo find all core files and delete them, use: \r\nfind / -name core -exec rm {} \\;\r\nYou can run it in a cron job each day to release the disk space. |
|