HP3000-L Archives

August 2005, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mike Hornsby <[log in to unmask]>
Reply To:
Mike Hornsby <[log in to unmask]>
Date:
Tue, 16 Aug 2005 15:51:13 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (121 lines)
Craig Lalley wrote:

>Mike Hornsby <[log in to unmask]> wrote:
>
>Also, a process trace usually shows what a process is waiting for.
>
>That's better, but what I expected  (The process is an ODBC driver)...
>
>
>
To get more information on this SOCKET (calling IPCRECV)  based application
one must use the SOCKINFO or SHOWCONN utilities. I prefer SHOWCONN. A sample
wrapper script that makes SHOWCONN easier to use can be found below.

Mike Hornsby
Beechglen Development Inc.
513-922-0509
www.beechglen.com



parm jobno detail = 0 interval = 30
echo Wait interval is !interval seconds unless interrupted
echo detail level is !detail 0=no socket details
echo Syntax = :SPLUS Jnn or SPLUS jnn detail #waitcycleseconds
echo
showconn.prvxl.telesup help=on
WHILE HPCONNSECS > 0
   echo ================== !HPTIMEF ====================
   SHOWPROC job=#!jobno
   SHOWconn.prvxl.telesup job=#!jobno
   if !detail >0 then
     PURGE SPMSG,TEMP >$NULL
     BUILD SPMSG;REC=-79,,F,ASCII;TEMP;MSG
     FILE SPMSG=SPMSG,OLDTEMP
     SHOWPROC job=#!jobno >*SPMSG
     WHILE FINFO("SPMSG",19) <> 0
        INPUT SPLINE < SPMSG
        SETVAR PIN ltrim(STR("!SPLINE",32,20))
        setvar pin str("!pin",1,pos(" ","!pin"))
        showconn.prvxl.telesup;pin=!PIN
     ENDWHILE
   endif
   setvar dummy,"X"
   setvar hpmsgfence,1
   input dummy;prompt="ENTER 'E' or 'e' to exit->";wait=!interval
   setvar hpmsgfence,0
   ECHO
   if dummy="E" or dummy = "e" then
     RETURN
   endif
   deletevar dummy
ENDWHILE


>:debug
>
>DEBUG/iX C.39.06
>
>HPDEBUG Intrinsic at: a.00fb1fc0 hxdebug+$e8
>
>$1 ($134) nmdebug > pin #221
>
>$2 ($dd) nmdebug > tr,d,i
>
>PC=a.0018999c enable_int+$2c
>
>NM* 0) SP=41854df0 RP=a.0077956c notify_dispatcher.block_current_process+$338
>
>NM 1) SP=41854df0 RP=a.0077b3ac notify_dispatcher+$268
>
>NM 2) SP=41854d70 RP=a.0086a2c0 ipc_impede+$268
>
>NM 3) SP=41854c70 RP=a.0086a044 ?ipc_impede+$8
>
>export stub: a.021a3304 sk_block+$1c8
>
>NM 4) SP=41854b30 RP=a.021a3c7c sk_block_for_completion+$110
>
>NM 5) SP=418549f0 RP=a.021d87e4 sk_recv+$268
>
>NM 6) SP=41854870 RP=a.02189498 IPCRECV+$2f4
>
>NM 7) SP=418547b0 RP=a.02189170 ?IPCRECV+$8
>
>export stub: 37c.0005a3ac
>
>NM 8) SP=41854570 RP=37c.00068008
>
>NM 9) SP=41854510 RP=37c.0a000000
>
>Can't unwind. Address has no unwind entry. (error #1905)
>
>Can't get next stack frame. Can't trace any further. (error #1914)
>
>$3 ($dd) nmdebug > exit
>
>:
>
>
>
>Thanks Mike!
>
>-Craig
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2