cancel
Showing results for 
Search instead for 
Did you mean: 

about crashconf

Sunny123_1
Esteemed Contributor

about crashconf

Hi

I have to configure crashconf in my server running HP-UX-11.31
I know about the procedure ..but can some one give me exact step
by step procedure..also can some one tell me exact details of
crashconf -v output..Follwoing is the output

CLASS PAGES INCLUDED IN DUMP DESCRIPTION
-------- ---------- ---------------- -------------------------------------
UNUSED 647219 no, by default unused pages
USERPG 276568 no, by default user process pages
BCACHE 143301 no, by default buffer cache pages
KCODE 8859 no, by default kernel code pages
USTACK 1572 yes, by default user process stacks
FSDATA 8 yes, by default file system metadata
KDDATA 431994 yes, by default kernel dynamic data
KSDATA 7154 yes, by default kernel static data
SUPERPG 46839 no, by default unused kernel super pages

Total pages on system: 1563514
Total pages included in dump: 440728

Dump compressed: ON

Dump Parallel: ON

DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME
------------ ------------ ------------ ------------ -------------------------
1:0x000004 2612064 8388608 64:0x000002 /dev/vg00/lvol1
------------
8388608
Dump device configuration mode is config_deprecated_mode.
Use crashconf -s option to change the mode.


can some one tell me about class and description?



Regards
Sunny
13 REPLIES
P Muralidhar Kini
Honored Contributor

Re: about crashconf

Hi Sunny,

For more details about crashconf, refer -
http://docs.hp.com/en/B2355-60130/crashconf.1M.html
->crashconf(1M)

This should tell you about the command and its parameter in detail.

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
Vijaykumar_1
Valued Contributor

Re: about crashconf

Here are the steps,

Edit /etc/rc.config.d/savecrash and modify the below entries,

SAVECRASH = 1
SAVECRASH_DIR = /var/adm/crash (optional, u can specify the dir u wish)

Save the file.

So,whenever the server reboots /sbin/init.d/savecrash script runs and invokes the rc configuration file. The crash files are saved such as crash. 0 ,crash.1 etc
Sunny123_1
Esteemed Contributor

Re: about crashconf

Hi
Thanks for your reply ..I have already read man page but there
were no such details of class..I want details of each and every class
in depth.

Regards
Sunny
rariasn
Honored Contributor

Re: about crashconf

Hi,

Classes
The following system memory classes have been defined as of this writing. Refer to the output of crashconf(1M) or to
/usr/include/sys/crashconf.h for definitions of any classes added since publication. The memory page size is 4Kb.

DT_UNUSED Unused physical memory pages
DT_KCODE Kernel code pages
DT_BCACHE Buffer cache data pages
DT_KSDATA Kernel static data pages
DT_KDDATA Kernel dynamic data pages
DT_FSDATA File system metadata pages
DT_USTACK User process stack pages
DT_UAREA U-Area pages
DT_USERPG User process pages

man 2 crashconf

rgs,

Sunny123_1
Esteemed Contributor

Re: about crashconf

Hi

As I said I know that man pages I want details in description..For example what is kernel dynamic data or what is kernel static data.



Regards
Sunny
P Muralidhar Kini
Honored Contributor

Re: about crashconf

Hi Sunny,

what does class in crashconf mean ?
If you look at the crash dump, it wont have all the data that is present in the
memory. Only selected data from memory is written in to the crash dump.
HP-UX divides the memory pages in to classes. The output of "crashconf -v"
is displaying you these classes

UNUSED -> Pages not currently in use.
USERPG -> User-space pages, exceptstacks.
USTACK -> User process stacks.
KCODE -> Kernel code.
KSDATA -> Kernel static data.
KDDATA -> Kernel dynamic data, except buffer cache data.
BCACHE -> Buffer cache data, except buffers containing file system metadata.
FSDATA -> Buffer cache buffers containing file system metadata (superblocks,
indirect blocks, and cylinder groups).

The following document talks more about this -
http://docs.hp.com/en/sysdmp-62001/sysdmp-62001.pdf

It also talks about which of the above memory pages gets written in to
the crash dump.

Regards,
Murali
Let There Be Rock - AC/DC
Sunny123_1
Esteemed Contributor

Re: about crashconf

Hi

Exactly i want details in depth for above output..For example what do you mean by kernel static data or Kernel dynamic data...



Regards
Sunny
P Muralidhar Kini
Honored Contributor

Re: about crashconf

Hi Sunny,

>> Exactly i want details in depth for above output
You may find that in the below links-
http://www.scribd.com/doc/4330123/HPUX-Tunable-Kernel-Parameters

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
Sunny123_1
Esteemed Contributor

Re: about crashconf

Hi

There were no such details in above document.
Any other document is there?



Regards
Sunny
Sunny123_1
Esteemed Contributor

Re: about crashconf

Hi Everybody

I am waiting for reply...



Regards
Sunny
P Muralidhar Kini
Honored Contributor

Re: about crashconf

Hi Sunny,

>> There were no such details in above document.
Oops. wrong link i guess.

>> Any other document is there?
Not able to find any document that has detailed description for all the classes.

Why are you looking out for the detailed description ?

Regards,
Murali
Let There Be Rock - AC/DC
Sunny123_1
Esteemed Contributor

Re: about crashconf

Hi All


Thanks for the reply.


Regards
Sunny
Dennis Handly
Acclaimed Contributor

Re: about crashconf

>can some one tell me about class and description?

What more do you need? You have the name and a very short description.

I would just take the default, unless the Response Center asks for more. Depth is only needed for kernel engineers.

>what is kernel dynamic data or what is kernel static data?

If you leave these out, HP won't be able to analyze your memory dump.