Sponsored Content
Operating Systems AIX Core File issue!Need help in DBX cmd's! Post 302256607 by vparunkumar on Monday 10th of November 2008 08:30:49 AM
Old 11-10-2008
Data Core File issue!Need help in DBX cmd's!

Hi ,

We have a Application running on AIX5.3 .It built by collection of c and pc programs. Now , i got a file "core" generated by "ProcessIse" executable. Really i do not have idea about core file analysis.
can any one please help me?How do i fix this issue ?
we have installed dbx
can dbx command fix this issue ?
Smilie
 

10 More Discussions You Might Find Interesting

1. Programming

dbx error ("Executable contains object file compiled on ...")

Hi, We are trying to run dbx on a core file for which we have the original executable and libs, but not the source / object tree. We have recompiled the objects from the original source, but dbx complains that they were compiled at a different time, and refuses to read them: Object file:... (0 Replies)
Discussion started by: Sabari Nath S
0 Replies

2. UNIX for Dummies Questions & Answers

man <cmd> >> cmd.txt

I've noticed most of my postings here are because of syntax errors. So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies

3. UNIX for Dummies Questions & Answers

Exact issue in Core dump

Hi, I have a core dump problem in HP-UX. I have searched in this forum, but could not get any answer related to my issue. I debugged the core file by 'gdb' and by using 'bt' cmd I got the function and line no, but I am not sure that the problem lies on the same function . I want to know... (0 Replies)
Discussion started by: ronix007
0 Replies

4. Programming

dbx for core dump

hello every one, I am trying to debug a pro*c program which is resulting in a core dump. It used to work fine in with Oracle 10g precompiler but is causing a core dump with 11g. When I run dbx here is what I get. dbx wreg309 Type 'help' for help. reading symbolic information ...... (5 Replies)
Discussion started by: wvuguy
5 Replies

5. Programming

dbx issue

hi i have executable(eg test) of my application that has the following syntax to run test -Ddatabase_name Inputfile Now i want to debug it using dbx so i do dbx test (dbx) stop at /abc/test/test.c:90 stop at /abc/test/test.c:90 ^ syntax error the... (0 Replies)
Discussion started by: mad_man12
0 Replies

6. Shell Programming and Scripting

logic for executing defined seq in file and cmd in file

I have four files a,b,c,d which need to contain certain in the sequence a, b, c ,d , each file command which needs to be executed, what i m in need is that to executed file and cmd in the defined order and if any of the command FAIL or throw ERROR, it script shud come out... (3 Replies)
Discussion started by: tarunn.dubeyy
3 Replies

7. Shell Programming and Scripting

Unix cmd prompt how to get old cmd run?

Hi, I am using SunOS I want to serch my previous command from unix prompt (like on AIX we can search by ESC -k) how to get in SunOs urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies

8. Solaris

core file creation issue

Hi, There are servers SERVER1 and SERVER2. Both have Sun Solaris 5.1 operating system . A binary file called "Runme" is running in SERVER1 without any issues. But same binary file " Runme" creates core file while exiting . Both operating systems have similar setups. What would be the reason for... (1 Reply)
Discussion started by: joe.mani
1 Replies

9. Emergency UNIX and Linux Support

Core Dump Issue

Hi In SunOS the gdb command outputs the following info. ---Type <return> to continue, or q <return> to quit--- Reading symbols from /opt/dcs_5.1/lib/libssl.so...done. Loaded symbols for /opt/dcs_5.1/lib/libssl.so Reading symbols from /opt/dcs_5.1/lib/libcrypto.so...done. Loaded symbols for... (1 Reply)
Discussion started by: kumaran_5555
1 Replies

10. Solaris

Problems in reading CORE DUMP file with dbx

I am new to UNIX. My Application is using c (.so files) and Java code. My application crashes and CORE DUMP file is generated ,which is huge. Now I want to view the CORE DUMP file to debug the application using dbx without starting process again. By only using the CORE DUMP file and dbx ,can i... (1 Reply)
Discussion started by: satde
1 Replies
dumpsys(8)						      System Manager's Manual							dumpsys(8)

NAME
dumpsys - Copies a snapshot of memory to a dump file SYNOPSIS
/sbin/dumpsys [-fisuz] [-r num] directory OPTIONS
Perform a full core dump -- the default is a partial dump. Ignore filesystem space limit warning -- copy the dump even if there is insuf- ficient filesystem space to save it. Only the portion of the dump that fits in the space available is copied. Set the expected dump com- pression ratio, defaulting to 0.5. A lower number means a better compression ratio is expected. Print the expected size of a full and partial dump file -- no dump is taken. Produce a non-compressed dump. Disable contiguous zero suppression. DESCRIPTION
The dumpsys command allows you to save a snapshot of the system memory to a dump file. There are times when system memory requires analy- sis but it may not be possible to halt the system and take a normal crash dump. Many problems can be resolved by taking a snapshot of the system memory while the system is running. The dumpsys command performs this function after it determines that there is enough file system space to save a core dump (see the following for information about minfree). Note that the system is running while dumpsys takes a snapshot of memory. This means that memory may be changing as it is copied. As a result, analysis of the resulting dump may show inconsistencies such as incomplete linked lists and partially zeroed pages. These are features caused by the transitory state of memory, caused by the working system. For this reason, some system problems cannot be detected by dumpsys and you must halt the system to take a normal crash dump. The dumpsys command writes information in directory. By default, directory is /var/adm/crash. The dump contains the contents of a portion of physical memory (or all of physical memory in the case of a full core dump) at the time of the command execution. The dumpsys command saves this information in the file vmzcore.n, or vmcore.n if compression is supressed. The command also copies the kernel executable image, usually /vmunix, to the vmunix.n file. You can then analyze the vmzcore.n and vmunix.n files (See the Kernel Debugging manual for information about analyzing core dump files.) The variable n indicates the number of the core file. For the first file, dumpsys creates the files vmunix.0 and vmcore.0. It then creates a file named directory/bounds and initializes the file with the value 1. For each succeeding dump, the dumpsys command uses the value in the directory/bounds file and then increments that value. By default dumpsys produces specially compressed dump files. The compression scheme used is not as powerful as compress or gzip but has the unusual feature that any byte in the file can be extracted without decompressing more than about 40K (typically less), even if the dump is very large. Tools such as dbx, ladebug, and kdbx, are able to read the compressed core files. The expand_dump utility is provided to con- vert compressed dumps into non-compressed dumps if you want to use an analysis tool that does not understand the compressed format. A traditional non-compressed dump can be generated using the -u switch. In this case the dump file will be named vmcore.n instead of vmz- core.n. It is possible that you may run dumpsys on a kernel that is not recent enough to support compressed dumps. If this happens, dumpsys will display a warning that the kernel is too old, but will then produce a non-compressed dump. The message is suppressed if -u is used. Con- versely, if you try to use older versions of dumpsys with a newer kernel a non-compressed dump is created without a message. The older dumpsys version will not recognize the -u or -r options. The text file directory/minfree specifies the minimum number of kilobytes that must be left on the filesystem containing directory after dumpsys copies the dump. By default, this file does not exist, indicating that the minimum is set to zero. To specify a minimum, create the file and store the number of kilobytes you want reserved in it.You can override the minimum check of directory/minfree using the -i option. The -s option displays the approximate number of disk blocks that full and partial dumps will require. The exact size can not be deter- mined ahead of time for many reasons, such as: By default, dumpsys optimizes disk space requirements by suppressing the writing of contigu- ous zeroes. System use of dynamic memory (malloc/free) changes while the system is in use. If the dump is to be compressed, the ratio by which it will be compressed is not known. The -z option disables contiguous zero suppression. A considerable amount of memory consists of contiguous zeros, that do not need to be written to disk. The dumpsys command optimizes disk space by default, but optimization of disk space causes longer execution times. If you specify the -z option, the run time can be 25% faster, although you will require more disk space. Note that if the dump is to be com- pressed, zero supression is not usedm therefore the -z option is meaningless. With the exception of the -s option, execution of dumpsys requires root (superuser) access rights. EXIT STATUS
Success -- dump taken General error -- dump failed Insufficient file system space -- dump failed FILES
Specifies the number of the next dump Specifies the minimum number of kilobytes to be left after dump files are written SEE ALSO
Commands: dbx(1), expand_dump(8), savecore(8) System Administration dumpsys(8)
All times are GMT -4. The time now is 06:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy