Sponsored Content
Operating Systems HP-UX Coredump HP-UX 11.23 and 11.31 Post 302387478 by jim mcnamara on Saturday 16th of January 2010 07:25:53 AM
Old 01-16-2010
make a process dump core
Code:
#!/bin/ksh
# step 1 - create child process
sleep 30 2>&1 >>logfile &
# step 2 - send SIGSEGV to the child  $! is the pid of the child
kill $! -SEGV

The ulimit command limits the size of core files. Read the man page to see exactly what you want to do. Put the ulimit command in /etc/profile so all users are limited in the size of core files. -- assuming I got what you want to do.
Code:
ulimit -a

show the current settings
 

10 More Discussions You Might Find Interesting

1. Programming

coredump

i create one executed file (based on c language). when 1 try to executed the file, the result show me the bus error (coredump). can you help me to solve this problem. thanks. (2 Replies)
Discussion started by: lala
2 Replies

2. Solaris

Set Up Coredump's

I am trying to set up coredumps on a server, I have enabled the coreadm, and have also set a path to whre the coredumps will go. I now need to set the ulimit , as this is set to 0. I made the change: ulimit -c 8192 but when I logged out and back in, it was set back to 0 again. I need to know... (1 Reply)
Discussion started by: mzyvn6
1 Replies

3. Programming

Strncpy - coredump

haiu all what makes strncpy to coredump (0 Replies)
Discussion started by: vijaysabari
0 Replies

4. Solaris

metainit gives coredump

SunOS unknown 5.9 Generic_118558-10 sun4u sparc SUNW,Sun-Fire-880 I'm trying to set up mirroring and am running into a problem: As you can see, I set up the metadb, but am getting a coredump when running metainit. I saw this through google, but don't know the validity of it. Any ideas? #... (5 Replies)
Discussion started by: dangral
5 Replies

5. UNIX for Advanced & Expert Users

coredump after every reboot

Every time I reboot our solaris 9 (SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Sun-Fire-480R) box, I get the messages below: # dmesg | grep dump Mar 24 12:39:55 hostname savecore: initial dump header corrupt Mar 24 12:39:55 hostname genunix: dump on /dev/dsk/c1t0d0s1 size 700 MB Mar 24... (2 Replies)
Discussion started by: xnightcrawl
2 Replies

6. UNIX for Dummies Questions & Answers

handling a coredump on HP?

This works for all my normal executions. But on one machine, a coredump is expected on one command. We don't care and know it will always happen, but need to confirm the version info from the start of the output. This is output from the exe: $ ./Up -*-*- XXXXXXX UPDATE XXXXX Version... (7 Replies)
Discussion started by: brdholman
7 Replies

7. Red Hat

how to read coredump on RHEL

Hi All, I just wondering how can we read core files (core.****). I have an appication, when it is trying to crash I got the coredump. since it is in binary format, I dont know how to read that. Thanks (1 Reply)
Discussion started by: s_linux
1 Replies

8. AIX

coredump: xsnaadmin

Hello! I do have an IBM pSeries 7043 server running AIX 5.2.0.0. Well, I do have trouble to run xsnaadmin tool remotely, I mean, the xsnaadmin tool can't run on exported X display. What I'm doing is aixserver>export DISPLAY=xxx.xxx.xxx.xxx:0.0 aixserver>xsnaadmin Segmentation... (0 Replies)
Discussion started by: jssanche
0 Replies

9. Shell Programming and Scripting

bc throwing coredump

Hi Gurus, I tried bc 1000 % 10 on tcsh and ksh and its throwing a core dump on a sun solaris machine. uname -a SunOS azote 5.9 Generic_118558-39 sun4u sparc SUNW,Ultra-4 Please let me know if you find anything. Thanks, Kinny (8 Replies)
Discussion started by: kinny
8 Replies

10. Programming

Why segmentation(coredump) in the following code in C?

hi I have a method which returns char*. In this method am using switch case. I am getting segmentation error in case 49 and my code is case 49: if(intFlag == 0210) { iiIDCode = atoi(getsubstring(sReq,262,2)); l =... (7 Replies)
Discussion started by: AAKhan
7 Replies
dump(n) 																   dump(n)

__________________________________________________________________________________________________________________________________________________

NAME
dump - Dump information about Tcl interpreter in TkCon SYNOPSIS
dump method ?-nocomplain? ?-filter pattern? ?--? pattern ?pattern ...? _________________________________________________________________ DESCRIPTION
The dump command provides a way for the user to spit out state information about the interpreter in a Tcl readable (and human readable) form. It takes the general form: dump method ?-nocomplain? ?-filter pattern? ?--? pattern ?pattern ...? The patterns represent glob-style patterns (as in string match pattern $str). -nocomplain will prevent dump from throwing an error if no items matched the pattern. -filter is interpreted as appropriate for the method. The various methods are: dump command args Outputs one or more commands. dump procedure args Outputs one or more procs in sourceable form. dump variable args Outputs the values of variables in sourceable form. Recognizes nested arrays. The -filter pattern is used as to filter array ele- ment names and is interepreted as a glob pattern (defaults to {*}). It is passed down for nested arrays. dump widget args Outputs one or more widgets by giving their configuration options. The -filter pattern is used as to filter the config options and is interpreted as a case insensitive regexp pattern (defaults to {.*}). SEE ALSO
idebug(n), observe(n), tkcon(1), tkcon(n), tkconrc(5) KEYWORDS
Tk, console, dump COPYRIGHT
Copyright (c) Jeffrey Hobbs <jeff at hobbs.org> TkCon 2.5 dump(n)
All times are GMT -4. The time now is 03:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy