Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* TCP PCB addresses in  netstat
@ 1997-01-19  5:00 David Herdman
  1997-01-30  5:00 ` Eric Werme
  0 siblings, 1 reply; 2+ messages in thread
From: David Herdman @ 1997-01-19  5:00 UTC (permalink / raw)



Hi

I want to look at some of the stuff in running TCP connections
I know that netstat -An gives the PCB address but when I try
to use this address in dbx -k /vmunix I get rubbish. I have tried
adding 0xffffffff to the front of the addresses (based on some stuff
I seen in bookreader but this is a shot in the dark). What do I need
to do to view the TCP PCBs.

Also can anyone point me to any dUNIX kernel debugging turorials.
There have been some given at US DECUS over the last few years but 
non of the material seems to be on line

TIA

Dave Herdman

-- 
+------------------------------------------------------------------+
| Dave Herdman    Open Systems Interconnection Ltd                 |
| dherdman@osil.demon.co.uk Tel (44)1494 765716 Fax (44)1494 764062| 
+------------------------------------------------------------------+




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TCP PCB addresses in netstat
  1997-01-19  5:00 TCP PCB addresses in netstat David Herdman
@ 1997-01-30  5:00 ` Eric Werme
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Werme @ 1997-01-30  5:00 UTC (permalink / raw)



dherdman@osil.demon.co.uk (David Herdman) writes:

>Hi

>I want to look at some of the stuff in running TCP connections
>I know that netstat -An gives the PCB address but when I try
>to use this address in dbx -k /vmunix I get rubbish. I have tried
>adding 0xffffffff to the front of the addresses (based on some stuff
>I seen in bookreader but this is a shot in the dark). What do I need
>to do to view the TCP PCBs.

Try something like 

(dbx) p *((struct tcpcb *) 0xfffffc0001bf2f00)  

or

# kdbx -k /vmunix
(kdbx) inpcb

or order AA-PS2TE-TE, "Kernel Debugging"
-- 
  <>    Eric (Ric) Werme   <>      This space under reconstruction       <>
  <>  <werme@zk3.dec.com>  <>                                            <>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-01-30  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-19  5:00 TCP PCB addresses in netstat David Herdman
1997-01-30  5:00 ` Eric Werme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox