IBM,9133-55A
AIX 5.3
察看以前没有将程序core文件放到固定的目录,一般放在用户的家目录,用lscore察看
lscore
compression: off
path specification: off
corefile location: not set
naming specification: off
一般放在rootvg,首先创建corefile的lv
1. 创建lv,rootvg PP SIZE 是256M,所以创建30个大概7.5G足够用了
mklv -y lvcorefiles -t jfs2 rootvg 30
2. 创建文件系统
crfs -v jfs2 -m /corefiles -d /dev/lvcorefiles -p rw
3. mount文件系统
mount /corefiles
4. 修改文件系统,启动自动mount
chfs -a mount=true /corefiles
本文介绍如何在IBM AIX5.3系统上为程序设置core dump文件的位置及大小限制。通过创建专用的文件系统来存放core文件,确保系统稳定性的同时方便故障排查。
923

被折叠的 条评论
为什么被折叠?



