AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

difference between data and AIX Core file

  • 1.  difference between data and AIX Core file

    Posted Mon October 31, 2011 08:02 AM

    Originally posted by: Pharthiphan


    Hello,

    What is the difference between data and AIX Core file,even in Linux Machine it shows data only.

    In Solaris:-
    bash-2.05$ls -l e001xa31010412
    -rw------- 1 sompriti other 10600000 Apr 15 2011 e001xa31010412

    bash-2.05$ file e001xa31010412
    e001xa31010412: data

    In AIX:-

    iitm01n2[/gpfs2/home/sompriti/CD1/SOM/REMO-SASIA/data/exp001/year04/mon01/xa]> ls -lrt e001xa31010412
    -rw----r-- 1 sompriti aptm 10600000 Aug 30 2010 e001xa31010412
    iitm01n2[/gpfs2/home/sompriti/CD1/SOM/REMO-SASIA/data/exp001/year04/mon01/xa]> file e001xa31010412
    e001xa31010412: AIX core file

    What is the difference between data and AIX Core file,even in Linux Machine it shows data only.
    Regards,
    Pharthiphan A
    #AIX-Forum


  • 2.  Re: difference between data and AIX Core file

    Posted Mon October 31, 2011 08:23 AM

    Originally posted by: tony.evans


    All files are just a collection of bytes. The 'file' command attempts to classify file types based on various elements of the data structure. But it's essentially a guess. Your file looks to AIX's file command like an AIX Core Dump so it reports it as such. Linux uses a different set of tests, and doesn't know about AIX Core files I would think.

    Basically, your file is just a file, but it just so happens AIX thinks it looks like a Core file.
    #AIX-Forum