Sponsored Content
Full Discussion: Core Dumping?
Operating Systems Linux Red Hat Core Dumping? Post 302500341 by fpmurphy on Monday 28th of February 2011 09:21:40 AM
Old 02-28-2011
kdump is for kernel crash dumping - not core dumps.

Assuming abrtd is not running, to find the core dump pattern do:
Code:
# sysctl -a | grep core_pattern

and then search for that.

For example
Code:
# sysctl -a | grep core_pattern
kernel.core_pattern = /tmp/core.%p

This means that the core dump files will be generated in the “/tmp” directory. The “%p” extension is used to append the process id of the application that crashed. BTW, the variable kernel.core_pattern can also used to change the name of core dump files so they are not necessarily named "core"
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dumping files to tape

Can anyone please help.... how can I dump just a single file to tape using the ufsrestore command!!! I'm a newbie to unix and It's driving me mad.. Thanks in advance. (2 Replies)
Discussion started by: Jonathan
2 Replies

2. UNIX for Advanced & Expert Users

Dumping multiple Folders

How would i go about dumping my /home/ directory and my /root directory i currently have..... dump -f /root/backup.dp /home/ /root/ ...but dump only seems to see only my first source directory and not the second (/root in this case) anyone know a way around this..or if it is even... (1 Reply)
Discussion started by: Freakytah
1 Replies

3. UNIX for Dummies Questions & Answers

dumping data and compressing

I have a utility provided by our vendor to dump data from their system. It is expsysdb -s prod proddata.dmp "-s" and "prod" are parameters and "proddata.dmp" is the file name that the data is dumped to (this can be any name). Our current system (AIX 4.3) has a file size limit set to 1... (7 Replies)
Discussion started by: jyoung
7 Replies

4. UNIX for Dummies Questions & Answers

dumping to tape from /tmp

I'm trying to dump files to tape and im just wondering can i dump from /tmp swap partition? ufsdump 0ubf 126 /dev/rmt/1 swap/tmp/blah.tar DUMP: Cannot open dump device `swap/tmp/blah.tar': No such file or directory ufsdump 0ubf 126 /dev/rmt/1 /tmp/NotificationServer_1.bku DUMP:... (1 Reply)
Discussion started by: kingdbag
1 Replies

5. UNIX for Dummies Questions & Answers

Dumping network packets

Hi, My Solaris Workstation has got 4 NICS, out of which one of them(bge3) is unplugged from the rest of the external network & connected to other interface(bge1). The isolated NIC serves as a simulated Ethernet Interface for my application under development. Now, I'd like to capture RAW... (1 Reply)
Discussion started by: smanu
1 Replies

6. Solaris

coreadm diasble a process from core dumping

Hello All Is it possible to disable a specific process from core dumping ? In my environment I have 2 bespoke application processes which needs to be stopped from core dumping but any other process should be allowed to core dump. If I do : coreadm -d process it will stop all per processes... (3 Replies)
Discussion started by: baner_n
3 Replies

7. Programming

strcat() dumping core

strcat dumping core in the situation like main() { char* item; char* p=sat_item; char type; item=(char*) malloc(strlen(p)); strncpy(type,p,4); type='\0'; strcat(item,type); //dumping core } I couldn't get why strcat dumping core? (3 Replies)
Discussion started by: satish@123
3 Replies

8. HP-UX

script running with "ksh" dumping core but not with "sh"

Hi, I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone. And its not dumping core if we run the script using "/bin/sh" instead of "ksh" Can some body please help me how to resolve this issue. ... (9 Replies)
Discussion started by: simhe02
9 Replies

9. IP Networking

dumping traffic of a singel application

I would like to know if there is a way to dump the network traffic of a single application. I tried with tcpdump but I couldn't find a way. Is there a patch, which enables that or does someone know an other application to do this? (2 Replies)
Discussion started by: smf15
2 Replies
DPM_ADDFS(3)						       DPM Library Functions						      DPM_ADDFS(3)

NAME
dpm_addfs - add a filesystem to a disk pool SYNOPSIS
#include <sys/types.h> #include "dpm_api.h" int dpm_addfs (char *poolname, char *server, char *fs, int status, int weight) DESCRIPTION
dpm_addfs adds a filesystem to a disk pool. poolname specifies the disk pool name previously defined using dpm_addpool. server specifies the host name of the disk server where this filesystem is mounted. fs specifies the mount point of the dedicated filesystem. status Initial status of this filesystem. It can be set to 0 or FS_DISABLED or FS_RDONLY. weight specifies the weight of the filesystem. This is used during the filesystem selection. The value must be positive. A negative value will tell the server to allocate the default weight value (1). It is recommended to use a value lower than 10. This function requires ADMIN privilege. RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
ENOENT Filesystem does not exist. EACCES The caller does not have ADMIN privilege. EFAULT poolname, server or fs is a NULL pointer. EEXIST this filesystem is already part of a pool. ENOMEM Memory could not be allocated for storing the filesystem definition. EINVAL The pool is unknown or the length of poolname exceeds CA_MAXPOOLNAMELEN or the length of server exceeds CA_MAXHOSTNAMELEN or the length of fs exceeds 79. SENOSHOST Host unknown. SEINTERNAL Database error. SECOMERR Communication error. LCG
$Date$ DPM_ADDFS(3)
All times are GMT -4. The time now is 05:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy