rp_debug  rp_go

Chapter 6: Registered Procedures

rp_dump

Description

Dumps connection state information.

Syntax

rp_dump [[thread|mutex|all]]

Parameters

thread

Dumps information about all user connection threads in OpenSwitch.

mutex

Dumps information about all mutexes that OpenSwitch owns.

all

Dumps information about all OpenSwitch threads and mutexes. This is the default if no parameters are specified.

Examples

Example 1

1> rp_dump thread
2> go

Returns:

******** THREAD DUMP *********
<spid #15 system pid 21337 state=<NONE> coord=<NONE>>
  server mask=0x0, busy time='11/06/05 21:53:09', 
  transtate=CS_TRAN_UNDEFINED,
  app='isql', user='sa', host='loka', db='master',
  conn=0xee12ac8, current='ase2', next='ase2', pool='POOL1',
  proc=0x4095b4, cap set=CS_FALSE, next cursor=0, reason code=0,
  reason text='', function=''
(return status = 0)

Usage





Copyright © 2005. Sybase Inc. All rights reserved. rp_go

View this book as PDF