Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
UNICEF

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 56 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

lcrash




SYNOPSIS

       lcrash  [  -n  bounds  ]  [ -M path ] [ -I path ] map dump
       kerntypes

       lcrash [ -s dumpdev dumpdir <0 | 1> ]


DESCRIPTION

       lcrash is a hands-on utility that generates detailed  ker­
       nel  information  in  an easy-to-read format.  lcrash also
       provides the ability  to  generate  reports  about  system
       crash  dumps.  Depending on the type of system crash dump,
       lcrash can create a unique report that  contains  informa­
       tion  about what happened when the system crashed.  lcrash
       can be run on live systems or with any map and dump speci­
       fied on the command line.

       map  contains symbol table information needed for symbolic
       access to the system memory  image  being  examined.   The
       default  map  is /boot/System.map, which is used when ana­
       lyzing a live system.  If the memory image being  analyzed
       is  from  a  system core dump (dump.N), then map must be a
       copy of the map file that was valid at  the  time  of  the
       crash.

       dump  is  a  file containing the system memory image.  The
       default dump is /dev/mem, which provides access to  system
       memory  when  analyzing a live system.  dump can also be a
       pathname to a file (dump.N) produced by  lcrash  run  with
       the -s option.

       kerntypes  is  a  file  containing kernel type information
       that lcrash needs in order to properly access kernel  data
       in  the  system  memory  image.   The default kerntypes is
       /boot/Kerntypes, which  provides  access  to  kernel  type
       information  when  analyzing a live system.  kerntypes can
       also be a pathname to a  file  (Kerntypes.N)  produced  by
       lcrash run with the -s option.


OPTIONS

       -s     Allows  a  crash  report to be created.  The memory
              image is read  from  dumpdev,  which  is  the  dump
              device  where  the  system  dump  memory  image  is
              placed.   The  default  dumpdev   is   /dev/vmdump,
              although  it will traditionally be specified out of
              /etc/sysconfig/dump,  which  is  where   /sbin/lkcd
              reads its configuration variables from.  The report
              will be created and saved into dumpdir.  The 0 or 1
              variable  declaration determines whether the memory
              image is also saved to disk along  with  the  crash
              report.   For  example,  some system administrators
              may only wish to create a  crash  report,  so  they

       -M path
              Specifies the PATH to  search  for  loading  macros
              either  on  startup  or  when the 'load' command is
              issued at the lcrash prompt. On startup  all  files
              in  these directories are loaded automatically. The
              default           macro           path           is
              ~/.lcrash:/usr/share/sial/lcrash.  The  environment
              variable LC_MPATH can  be  used  for  that  perpose
              also.

       -I path
              Specifies  the  PATH  to search for #include direc­
              tives in macro files. The default  value  for  this
              path                                             is
              ~/.lcrash/include:/usr/share/sial/lcrash/include.
              The  environment  variable LC_IPATH can be used for
              that perpose also.


MACROS

       C syntax macros can be used to  create  new  commands  and
       expand lcrash's functionality. They can be useful for com­
       mands that are specific to a site or engineering group and
       make  it  easy for everyone to chip in and expand the base
       lcrash   distribution.     Please    refer    to    lkcdu­
       tils/README.sial     and    lkcdutils/libsial/README    at
       http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/?cvs­
       root=lkcd for more details on how to write new commands or
       on the sial interpreter  itself  (e.g.   list  of  builtin
       functions, exceptions to the C syntax etc...).

       For  a  quick  start, refer to the sample macro ps.sial in
       /usr/share/sial/lcrash.


NOTES

       1)     lcrash  is  in  a continually evolving state; it is
              important  to  get  the  latest  lkcd  and   lcrash
              RPM/patch  files  to  keep  on  top  of  the latest
              changes.

       2)     There are likely a number of bugs, as this  is  the
              first  release.   Please  report  any  and all bugs
              after  reviewing   project   details   located   at
              http://oss.sgi.com/projects/lkcd/.

                                                        LCRASH(1)
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.08 Seconds