12-06-2009
Do you mean the kernel? (that is NOT the same as a core, which is a dump of memory containing system states). What are you trying to accomplish?
10 More Discussions You Might Find Interesting
1. Solaris
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
2. AIX
My application gives core dump. When i am debugging with dbx getting instructions below:
pthdb_session.c, 818: 695445 PTHDB_INTERNAL (internal error)
pthreaded.c, 1941: PTHDB_INTERNAL (internal error)
Illegal instruction (illegal opcode) in . at 0x0
warning: Unable to access address 0x0... (1 Reply)
Discussion started by: bapi
1 Replies
3. UNIX for Dummies Questions & Answers
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
4. Solaris
i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9.
Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well?
what... (2 Replies)
Discussion started by: lsy
2 Replies
5. HP-UX
Hi,
I am running a iplanet webserver in a HP-UX box and the iplanet webserver is crashing oftenly. I want to take a core dump. Could you please let me know how can i check whether server core is enabled?
if not how can i enable the same?
Also let me know to which path it saves the core.
... (7 Replies)
Discussion started by: Krrishv
7 Replies
6. Programming
I have a dual core pc, I write a application with two child process.
I know I can add sched_get_cpu to know the process run on which core, but, it just when the sched_get_cpu is called, it will tell me the result, my quesion is how to know the child proceess spend how many times on one core. (2 Replies)
Discussion started by: yanglei_fage
2 Replies
7. UNIX for Dummies Questions & Answers
I want to use linux which core version is 2.4.0,so I want to know which version linux contains core 2.4.0? Where can I get this version linux?
Thanks (1 Reply)
Discussion started by: konvalo
1 Replies
8. UNIX for Advanced & Expert Users
Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1
a. Debian Squeeze (HP DL360). Need to use java version6
On Debian, I did apt-get install sun-java6-jdk. So when I check it's
java version "1.6.0_22"
Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies
9. Shell Programming and Scripting
How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies
10. Red Hat
Guys,
How to find OS version and firmware version in LINUX?
Like in AIX.
uname -a will show me the version 5.3, 6.1,7.1.
lsmcode -c will show me - system firmware image as SF240_417.
What are the similar commands in Linux.
I checked uname -a and cat /etc/release.
uname... (1 Reply)
Discussion started by: ElizabethPJ
1 Replies
LEARN ABOUT SUNOS
tnfxtract
tnfxtract(1) User Commands tnfxtract(1)
NAME
tnfxtract - extract kernel probes output into a trace file
SYNOPSIS
tnfxtract [ -d dumpfile -n namelist] tnf_file
DESCRIPTION
The tnfxtract utility collects kernel trace output from an in-core buffer in the Solaris kernel, or from the memory image of a crashed sys-
tem, and generates a binary TNF trace file like those produced directly by user programs being traced.
Either both or neither of the -d and -n options must be specified. If neither is specified, trace output is extracted from the running ker-
nel. If both are specified, the -d argument names the file containing the (crashed) system memory image, and the -n argument names the file
containing the symbol table for the system memory image.
The TNF trace file tnf_file produced is exactly the same size as the in-core buffer; it is essentially a snapshot of that buffer. It is
legal to run tnfxtract while kernel tracing is active, i.e., while the in-core buffer is being written. tnfxtract insures that the output
file it generates is low-level consistent, that is, that only whole probes are written out, and that internal data structures in the buffer
are not corrupted because the buffer is being concurrently written.
The TNF trace file generated is suitable as input to tnfdump(1), which will generate an ASCII file.
OPTIONS
The following options are supported:
-d dumpfile Uses dumpfile as the system memory image, instead of the running kernel. The dumpfile is normally the path name of a file
generated by the savecore utility.
-n namelist Uses namelist as the file containing the symbol table information for the given dumpfile.
OPERANDS
The following operand is supported:
tnf_file Output file generated by tnfxtract based on kernel trace output from an in-core buffer in the Solaris kernel.
EXAMPLES
Example 1: Extracting probes from a running kernel
Extract probes from the running kernel into ktrace.out:
example% tnfxtract ktrace.out
Example 2: Extracting probes from a kernel crash dump
Extract probes from a kernel crash dump into ktrace.out:
example% tnfxtract -d /var/crash/`uname -n`/vmcore.0
-n /var/crash/`uname -n`/unix.0 ktrace.out
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtnfc |
+-----------------------------+-----------------------------+
SEE ALSO
prex(1), tnfdump(1), savecore(1M), tnf_kernel_probes(4), attributes(5)
SunOS 5.10 19 Aug 2003 tnfxtract(1)