core file default directory


 
Thread Tools Search this Thread
Operating Systems AIX core file default directory
# 1  
Old 05-29-2007
core file default directory

Is there a setting anywhere to set the default directory for core files rather than creating in /home ?, and I believe there is an option to have named core files e.g core.login.2905, again does anyone know the setting.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Change directory for core file

Hi, Some of the process in th environment are producing a core file. These core files are produced by default in the directory from which they were launched. I want to change the default directory to say /tmp of that environment. I am using both Linux and Solaris, so will need the solution... (2 Replies)
Discussion started by: Raj999
2 Replies

2. UNIX for Advanced & Expert Users

Help in Core File

Hi I am using Linux and I have Java as well as C++ services running on it. The ulimit -c is set to around 400Mb. Whenever any of the service fails they produce a core file.(Actual size of core could be greater than 400Mb). Whenever my Java service fails I get a core file of size 400Mb... (1 Reply)
Discussion started by: Raj999
1 Replies

3. Homework & Coursework Questions

how to delete core file (file created due to apps crashed)

1. The problem statement, all variables and given/known data: When looking for corefiles, include any file with core in its name. (Some UNIX/Linux systems add the PID of the process that created the core to reduce the chances of overwriting an already existing core file that might be needed. The... (6 Replies)
Discussion started by: s3270226
6 Replies

4. UNIX for Dummies Questions & Answers

Setting default directory file permissions and ownership help

I'm trying to setup a directory structure for my staff which enables them full access to files in the directories with their name, and have access to anything in the shared directory. The directory structure looks like this: root@www10 # ls -l total 56 drwxr-xr-x 7 internal internal 4096... (3 Replies)
Discussion started by: v_greg
3 Replies

5. Shell Programming and Scripting

MSB core file ?

Hi, Can anyone please tell me what is the concept of core file in unix system. I could see a core file in the home directory for my nix file system which is ELF 32-bit MSB core file I am not sure whether it can be removed or not. Please help !! Thanks in advance (1 Reply)
Discussion started by: vikash_k
1 Replies

6. UNIX for Dummies Questions & Answers

difference between Dual-core & Core-to-duo

Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies

7. Solaris

core file

hello all, I have same core like below: lsav@GINTINGsmsc1/var/opt/GINTING/cores/SLF $ pstack core core 'core' of 26799: /opt/GINTING/bin/SLF -poolSize 520000 pstack: warning: librtld_db failed to initialize; symbols from shared libraries will not be available ----------------- lwp# 1 ... (1 Reply)
Discussion started by: fredginting
1 Replies

8. Programming

How to use core file?

Hi experts, A good day to you all. With debug option, I compiled a big program called OpenFOAM (Written mainly in c++) on IRIX. after it is finished, I got a SEGV when I executed it. I noticed that the core file is quite a big block (800M)! However, I can get very little information... (9 Replies)
Discussion started by: lakeat
9 Replies

9. Solaris

core file

Hi friends, Can core file be deleted if there is no need for any one to use it for debugging ? What should be the setting for a person who has root access to the solaris system ? thanks in advance Veera (2 Replies)
Discussion started by: sveera
2 Replies

10. UNIX for Dummies Questions & Answers

Delete Core file in root directory

HP UX 11i Ok my server is about to run out of space, and i would like to know if there is something that i should be doing on a regular basis to maintain the machine like logs that i should clear or dmp file that i should delete... Thanks in Advance (2 Replies)
Discussion started by: bbutler3295
2 Replies
Login or Register to Ask a Question
gcore(1)                                                           User Commands                                                          gcore(1)

NAME
gcore - get core images of running processes SYNOPSIS
gcore [-pgF] [-o filename] [-c content] process-id... DESCRIPTION
The gcore utility creates a core image of each specified process. By default, the name of the core image file for the process whose process ID is process-id will be core.process-id. OPTIONS
The following options are supported: -c content Produces core image files with the specified content. The content description uses the same tokens as in coreadm(1M). The -c option does not apply to cores produced due to the -p or -g flags. -F Force. Grabs the target process even if another process has control. -g Produces core image files in the global core file repository with the global content as configured by coreadm(1M). The com- mand will fail if the user does not have permissions to the global core file repository. -o filename Substitutes filename in place of core as the first part of the name of the core image files. filename can contain the same tokens to be expanded as the paths in coreadm(1M). -p Produces a core image file in the process-specific location with the process-specific content for each process as config- ured by coreadm(1M). The command will fail if the user does not have permissions to the per-process core file repository. OPERANDS
The following operand is supported: process-id process ID EXIT STATUS
The following exit values are returned: 0 On success. non-zero On failure, such as non-existent process ID. FILES
core.process-id core images ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWtoo | +-----------------------------+-----------------------------+ |Interface Stability |See below. | +-----------------------------+-----------------------------+ Command Syntax is Evolving. Output Format(s) are Unstable. SEE ALSO
kill(1), coreadm(1M), setrlimit(2), core(4), proc(4), attributes(5) NOTES
gcore is unaffected by the setrlimit(2) system call using the RLIMIT_CORE value. SunOS 5.10 11 Feb 2004 gcore(1)