AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Sytem Dump file

    Posted Thu August 16, 2007 08:39 AM

    Originally posted by: SystemAdmin


    Hello,

    Does anyone know, how to analyze system dump? Do I need a specific software for it? plz help thanks


  • 2.  Re: Sytem Dump file

    Posted Thu August 16, 2007 09:01 AM

    Originally posted by: SystemAdmin


    > Does anyone know, how to analyze system dump?
    > Do I need a specific software for it?

    I apologize if I misunderstood your question.

    By a system dump, I assume you mean a "core" dump file
    (stack trace and memory image) from a system process
    that aborted.

    If so, you need a debugger, such as dbx or gdb, to
    interpret the stack trace and memory image.
    The debugger is language specific (C, C++, ...).
    In practice, you will also need an IDE (e.g. emacs),
    to manage the complexities involved with interpretted
    segments amid a sea of as-yet-uninterpretted noise.

    Hopefully helpful,


  • 3.  Re: Sytem Dump file

    Posted Thu August 16, 2007 03:08 PM

    Originally posted by: SystemAdmin


    Thanks. Yes, I meant core dump. So this is not an easy thing to do. Are any of these software free?


  • 4.  Re: Sytem Dump file

    Posted Thu August 16, 2007 04:27 PM

    Originally posted by: SystemAdmin


    > Thanks. Yes, I meant core dump. So this is not an
    > easy thing to do.

    It's no harder than changing a car tire.

    With years practice compiling and debugging programs,
    extracting the stack trace and memory image become
    second nature, just another basic tool in the debugger's
    toolbox.

    > Are any of these software free?

    gdb and emacs are open source.
    I think dbx is Sun proprietary.
    I don't have the URL handy and so cannot immediately
    check, but I believe gdb and emacs are downloadable
    as rpms from the IBM AIX toolbox.

    I believe dbx and toolbox access is bundled with
    some IBM products, so you may already have them.

    Hopefully helpful,


  • 5.  Re: Sytem Dump file

    Posted Mon August 20, 2007 01:26 AM

    Originally posted by: SystemAdmin


    dbx is part of the the bos.adt.debug fileset.