cr_open(3) Library Functions Manual cr_open(3)NAME
cr_open() - open crash dump for reading
SYNOPSIS DESCRIPTION
The library call opens a crash dump and passes back a crash dump descriptor.
The path argument points to a path name naming a crash dump directory or file, and must not exceed bytes in length.
The CRASH * to which crash_cb points is set to a crash dump descriptor, which can then be passed to the other functions to access the crash
dump.
flags is a bitmask of zero or more of the following flag values, which affect the operation of future calls to libcrash routines for this
crash dump, except for cr_verify(3), which has its own flags parameter.
The library will not attempt to verify checksums of files in the crash
dump if this flag is set.
The library will write messages to stderr during time-consuming operations
(decompressions and checksums) if this flag is set.
RETURN VALUE
Returns zero for success. Other possible return values are described in libcrash(5).
EXAMPLES
The following call to opens crash dump contained in the directory and returns the crash dump descriptor For an example of reading the crash
dump see the cr_read(3) manual entry.
AUTHOR
was developed by HP.
SEE ALSO cr_close(3), cr_perror(3), libcrash(5).
cr_open(3)
Check Out this Related Man Page
cr_uncompress(3) Library Functions Manual cr_uncompress(3)NAME
cr_uncompress - uncompress a file in a crash dump
SYNOPSIS DESCRIPTION
The ensures that a file, part of a crash dump described by crash_cb, is uncompressed and matches its expected size and checksum (as com-
puted by cksum(1)). This call is most often used to ensure the integrity of module files that are a part of the crash dump; see
cr_info(3).
pathname is the name of the file to uncompress. Supported compression methods include gzip(1), which appends a to the filename, and com-
press(1), which appends Respectively, size and checksum are the expected size and checksum of the uncompressed file. Either validity check
can be disabled by specifying zero for the corresponding parameter.
RETURN VALUE
Returns zero for success. Other possible return values are described in libcrash(5).
EXAMPLE
The following call to cr_uncompress(3) ensures that the kernel file is uncompressed and validated.
AUTHOR
was developed by HP.
SEE ALSO gunzip(1), uncompress(1), cr_info(3), cr_open(3), libcrash(5).
cr_uncompress(3)
Hello,
I host a couple of Call of Duty gameing servers. There are some hackers who love the crash them. When they crash them it simply causes a segmentaion fault and kills the PID. I was wondering it you could help me write a script to simply restart the program after it has been crashed. The... (9 Replies)
I have a program that opens a file handle that reads a lot of logs, it uses globbing, for example ba* matches bananas.log, bank.log, etc. I have seven different names, each with several logs that I run to a grep pattern. I have subroutines for each match and a loop w/o args that processes this. ... (5 Replies)
Hi there,
Anyone there who has a procedure on how to crash a linux a system? We need to do some testing on our machines. And one of the test would be to crash the os. Appreciate you help. Thanks.
Best regards,
Sodapop (5 Replies)
I'm trying to write a function which opens a file pointer and writes one of the function parameters into the file, however for some reason Im getting a core dump error.
The code is as below
void WriteToFile(char *file_name, char *data)
{
FILE *fptr;
/*disk_name_size is a... (10 Replies)
Hi,
I am facing an issue with the core dump, i am not exactly able to figure out why and where i am getting it and how should i resolve it
Please find the dbx run on the core
reading symbolic information ...
Segmentation fault in realloc_y at 0x900000000046980 ($t1)
0x900000000046980... (5 Replies)
Hi,
I have got core dump stating "core.bash.29846" so i am unable to open.
How to open the core dump file for further analysis?
Reagards
Vanitha (7 Replies)
Hi All,
i am using expdp to create a dump file of contents from an oracle table. I want this dump file to be zipped. Is there a way/ option in expdp where the dump file will be automatically zipped when its been created. If not please suggest other methods. (8 Replies)
Hi All
I have dump of mysql DB (Joomla), and I found out that there is absolute links on the DB not with the domain name but the IP address ex:
,(115205,'http://54.5.17.148//index.php/restoflink... (12 Replies)
Hello,
I was handed the job of restoring a drive on a old Sun Micro server running Solaris 8. The person who created the backup files told me I would need to use UFSrestore to restore the drive. I have read about everything on ufsrestore that is on this forum and have a decent grasp on how it... (18 Replies)
dear all,
i have p770 aix6.1
last week, the host reboot suddenly with dump. but i don't know how to analyze the dump.
I posted kdb details in the attachment.
please anybody help me.
#>kdb vmcore.0 /unix
vmcore.0 mapped from @ 700000000000000 to @ 7000001c72c0908
START ... (13 Replies)
Dear all
i have two aix system
-Model : P770
-OS version: AIX 6.1
-patch level : 6100-07-04-1216
-ha version : HACMP v 6.1.0.8
-host : A, B
last Wednesday, my B system suddenly went down with crash dump. after 1 minute, A system went down with crash dump. I checked the dump of A-system... (6 Replies)