- 论坛徽章:
- 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.
To find out which program is generating the core file, type
coreadm -i core.%f
Next time, if there is a process crash, the core file name will be core.program_name
To disable the core dump (not recommended), type:
coreadm -d process
To find all core files and delete them, use:
find / -name core -exec rm {} \;
You can run it in a cron job each day to release the disk space. |
|