![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Urgent: How can i get the missing records from one file out of two | Shiv@jad | UNIX for Advanced & Expert Users | 1 | 10-10-2007 02:43 PM |
| File descriptors missing on startup | xnightcrawl | UNIX for Advanced & Expert Users | 1 | 12-23-2005 12:58 PM |
| How to restrict Core file generation after scp (of SSH) command executed in UNIX | nrsekhar | UNIX for Advanced & Expert Users | 4 | 09-07-2005 02:17 AM |
| core file missing part of call stack | Lazzar | AIX | 1 | 07-29-2005 06:50 AM |
| Command missing | thekid | UNIX for Dummies Questions & Answers | 6 | 02-14-2002 09:02 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Missing core file using ssh + command
On a 2.6.21 kernel (MontaVista, x86_pentium4), I'm failing to see expected "core.pid" files dropped.
Consider this tiny program, "dumpcore.c": #include <stdio.h>Build command is equally simple: $ gcc -m32 -g -o dumpcore32 dumpcore.cIf I ssh into the MV system, login as root, and execute the program, I see a core file generated as expected: $ ssh root@W.X.Y.ZBut, if I "oneshot" the command by giving it on the ssh command line: $ ssh -t -t root@W.X.Y.Z "/home/klittle/dumpcore32;ls -la /disk/core"The core file is nowhere to be found. ulimit in both cases is "unlimited" (I double checked). Anyone have any insight here? TIA, -k Last edited by kclittle; 03-22-2008 at 05:12 PM.. Reason: cut/paste errors |
|
||||
|
Quote:
Quote:
Weird... |
|
||||
|
Quote:
-k |
|
||||
|
All I would suggest is the output of ulimit -a (or the like) between commands and then an explicit dump of environment to log in any compiled binaries. The abort() call is interesting as :
Code:
If the abort() function causes program termination, all open streams are closed and flushed. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|