Operating System - HP-UX
1826373 Members
5229 Online
109692 Solutions
New Discussion

How to view callout table using q4?

 
Surekha_2
New Member

How to view callout table using q4?

Hello,

I couldn't find a way of reading the callout
table using q4 on HPUX11.0
Appreciate any help in this regard.

TIA,
Surekha
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: How to view callout table using q4?

Hi Surekha,

I don't remember anything on top of my head right now but you can get the documentation in /usr/contrib/doc directory as a compressed archive. Uncompress and untar you should see the PDF files.

If you want to find the 'ncallout' kernel parameter at the time of crash, you should be able to see it in the ana.out file that get's created during the analysis process. Search for "VM Tables" or "ncallout" in that file.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: How to view callout table using q4?

Hi Surekha,

Ignore my second statement. You aren't looking for it. I am up too late.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Surekha_2
New Member

Re: How to view callout table using q4?

Hi Sri,
I refered the Q4 pdfs but they did not
have any command to see the callout table.
I could get the fields of callout structure and nothing more than that.

In SCO Unixware I have used the "callout" command which displays all callout table entries. Does q4 have such feature at all?

TIA,
Surekha
Sridhar Bhaskarla
Honored Contributor

Re: How to view callout table using q4?

Hi Surekha,

For me, it's hard to remember the symbols and syntax with q4. 'load struct callout from callout max ncallout' will load all the structures from the table like any other kernel structure. Then you can see the flag fields by 'print c_flag > flags.out'. Select the type of callouts you are interested in like only PENDING_CALLOUTs with 'keep c_flag=PENDING_CALLOUT' and then you can get the addresses of the functions etc., from there. Look at callout.h file for more details. YOu could print contents of the structure into a file after loading the structure like 'print -tx > ncallout.out'.

I will try looking for more specific documentation. I had seem some members posting extensive information on Q4 like semaphore debugging etc., but not necessarily related to ncallouts. Do not forget to take a backup of your current kernel before you run pxdb.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try