Pages

Wednesday, July 17, 2013

Change Core behaviour in AIX

When you need to change the core behaviour in AIX then run lscore the check the current settings, eg.:

# lscore
compression: off
path specification: off
corefile location: not set
naming specification: off


To change the directory where cores can be written create a appropiate directory first:

# mkdir /cores

Next use chcore the change the corefile location:

# chcore -l /cores -d

The -l option will change the corefile location to /cores (the prior created directory) and the -d option will take this directory as default for all users. Run lscore to check your new setting:

# lscore
compression: off
path specification: off
corefile location: /cores
naming specification: off


The tool chcore offers a few more options. Just look at the help:

# chcore -h
...


No comments:

Post a Comment