Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

postmort(1) [minix man page]

POSTMORT(1)						      General Commands Manual						       POSTMORT(1)

NAME
postmort - perform post-mortem on PC Minix core files SYNOPSIS
postmort [-dpt] -c corefile -s symbfile OPTIONS
-c Use the named corefile -d Dump all text symbols and segment data -p Display the kernel process table -s Use the named symbol file -t Display a stack backtrace EXAMPLES
postmort # display the data from the file 'core' DESCRIPTION
Postmort does a simple static analysis of a PC Minix core file; By default, it looks for the file 'core' in the local directory and loads that for analysis; it also searches for the file 'symbol.out', and if that fails 'a.out', expecting them to contain symbol information for the core file. It is not a fatal error if the symbol files don't exist. The stack backtrace is slightly tricky, and may go on longer than is really justified, since there's no easy way for it to know when to stop. Treat its results with caution. POSTMORT(1)

Check Out this Related Man Page

NM(1)							      General Commands Manual							     NM(1)

NAME
nm - name list (symbol table) SYNOPSIS
nm [ -aghnsu ] file ... DESCRIPTION
Nm prints the name list of each executable or object file in the argument list. If the file is an archive (see ar(1)), the name list of each file in the archive is printed. If more than one file is given in the argument list, the name of each file is printed at the begin- ning of each line. Each symbol name is preceded by its hexadecimal value (blanks if undefined) and one of the letters T text segment symbol t static text segment symbol L leaf function text segment symbol l static leaf function text segment symbol D data segment symbol d static data segment symbol B bss segment symbol b static bss segment symbol a automatic (local) variable symbol p function parameter symbol z source file name Z source file line offset f source file name components The output is sorted alphabetically. Options are: -a Print all symbols; normally only user-defined text, data, and bss segment symbols are printed. -g Print only global (T, L, D, B) symbols. -h Do not print file name headers with output lines. -n Sort according to the address of the symbols. -s Don't sort; print in symbol-table order. -u Print only undefined symbols. SOURCE
/sys/src/cmd/nm.c SEE ALSO
ar(1), 2l(1), db(1), acid(1), a.out(6) NM(1)
Man Page