picard@ilog.UUCP (Yves Picard) (09/21/90)
machine : sun 4/330 OS: SunOS 4.1 after a systeme crash (and recovering the core), i try to guess was the system was doing at the time of the crash (apart from ``iget: bad dev'') i get vmunix.3 and vmcore.3 from savecore, i'd like to have a ps -aux vmunix.3 vmcore.3 is it possible ? netstat works fine using adb -k vmunix vmcore , i can guess what is the stack are there any way to know more ? (like processe, who was logged, ..) any help welcome. Jean Yves Picard (mail) picard@ilog.fr (voice) + 33 1 46 63 66 66
art@pilikia.pegasus.com (Art Neilson) (09/24/90)
In article <9351@ilog.UUCP> picard@ilog.fr (Jean-Yves Picard) writes: > [ stuff about looking at system dump w/ps & adb ] Don't you have crash(1M) ?? It was made for this kinda stuff. You can use it to conduct a thorough post-mortem of a crashed kernel. -- Arthur W. Neilson III | ARPA: art@pilikia.pegasus.com Bank of Hawaii Tech Support | UUCP: uunet!ucsd!nosc!pegasus!pilikia!art
guy@auspex.auspex.com (Guy Harris) (09/27/90)
>Don't you have crash(1M) ??
He does, since he has SunOS 4.1 (assuming the system administrator
installed whatever the appropriate optional software category is),
although the man page is called "crash(8)" there.
As for "how to do 'ps -aux vmunix.3 vmcore.3', to quote from the 4.1
manual page:
SYNOPSIS
ps [ [-]acCegjklnrSuUvwx ][ -tx ]|[ num ]
[ kernel-name ] [ c-dump-file ] [ swap-file ]
...
kernel-name specifies the location of the system namelist.
If the -k option is given, c-dump-file tells ps where to
look for the core dump. Otherwise, the core dump is located
in the file /vmcore and this argument is ignored. swap-file
gives the location of a swap file other than the default,
/dev/drum.
although he could have looked it up himself in said man page....