Is there any command called crash in UNIX operating system. I can across this term in a book but could not get much detail on this. Can someone help me to know about this?
Is there any command called crash in UNIX operating system. I can across this term in a book but could not get much detail on this. Can someone help me to know about this?
I do not think crash is a command in UNIX operating system. It refers to an activity or an operation in which the system becomes unoperatable.
Yes Stephen you are right Crash is not a command and it is an activity in UNIX operating system.
crash is a command to examine the crash dumps
The crash command is used to examine the system memory image of a running or a crashed system by formatting and printing control structures, tables, and other information. Command line arguments to crash are dumpfile, namelist, and output-file.
OPTIONS
-d dumpfile
Specify dumpfile as the file containing the system memory image. The default dumpfile is /dev/mem . The system image can also be the pathname of a dump file generated by the savecore utility.
-n namelist
Specify the text file namelist which contains the symbol table information needed for symbolic access to the system memory image to be examined. The default namelist is /dev/ksyms. Note: It is recommended that crash dumps be analyzed on a machine having the same kernel architecture as the machine that the dump was taken from.
-w output-file
When the crash command is invoked, a session is initiated. The output from a crash session is directed to output-file. The default output-file is the standard output.
regards
Umakanth.G