Re: How to deal with a core file

From: Bill Vermillion (bv_at_wjv.comREMOVE)
Date: 06/27/03

  • Next message: Jeff Liebermann: "Re: Slow connection between XP Prof.Client and SCO OS"
    Date: Fri, 27 Jun 2003 03:57:21 GMT
    
    

    In article <20030627024523.GJ1410@jpradley.jpr.com>,
    Jean-Pierre Radley <jpr@jpr.com> wrote:
    >Bill Vermillion typed (on Fri, Jun 27, 2003 at 02:24:51AM +0000):
    >|
    >| How about a request for a feature/enhancement so that when
    >| a core file is created it is called <progname>.core - as is some
    >| other OSes. It has spoiled me.
    >
    >Starting in 5.0.6, you can edit this section of
    >/etc/conf/pack.d/kernel/space.c:
    >
    >int core_never = 0; /* 1 completely disables process coredumps */
    >int core_allow_sugid = 0; /* 1 allows setuid/gid procs to dump core */
    >int core_creation_policy = CORE_CREATE_REPLACE; /* see above */
    >char * core_dir_name = "."; /* can be absolute dir e.g. /var/spool/core */
    >int core_name_comm = 0; /* 1 adds ".program-name" to core filename */
    >int core_name_pid = 0; /* 1 adds ".%d" process ID to core filename */
    >int core_name_time = 0; /* 1 adds ".%d" timestamp to core filename */
    >int core_mode = 0600; /* may want 0640 or 0644 in shared devt env */

    Thanks. That covers the request.

    Bill

    -- 
    Bill Vermillion - bv @ wjv . com
    

  • Next message: Jeff Liebermann: "Re: Slow connection between XP Prof.Client and SCO OS"