scb subcommand

The scb subcommand provides options for display of information about VMM segment control blocks.

Format

scb [menu options]

Parameters

Item Description
menu options Use menu options and parameters with the subcommand to avoid display of menus and prompts.

If this subcommand is invoked without parameters, then menus and prompts are used to determine the data that is displayed. If the menu selections and required values are known, you can use them as subcommand parameters.

Other

No aliases.

Examples

The following is an example of how to use the scb subcommand:

KDB(0)> scb
VMM SCBs
Select the scb to display by:
 1) index
 2) sid
 3) srval
 4) search on sibits
 5) search on npsblks
 6) search on nvpages
 7) search on npages
 8) search on npseablks
 9) search on ninpages
 10) search on lock 
 a) search on segment type
 b) add total scb_vpages
 c) search on segment class
 d) search on segment pvproc
Enter your choice: 2
Enter the sid (in hex): 00024012

VMM SCB Addr B04775F4 Index 00000012 of 0000050B  Segment ID: 00024012

WORKING STORAGE SEGMENT
> (_segtype)..... working segment
> (_defd)........ deferred disk alloc
> (_privseg)..... process private segment
> (_compseg)..... computational segment
> (_privatt)..... process attachment
segment info bits        (_sibits)  : 88408800
default storage key      (_defkey)  : 2
extent of growing down   (minvpn)   : 0000FF3A 65338
last page user region    (sysbr)    : FFFFFFFF    -1
up limit                 (uplim)    : 00000000     0
down limit               (downlim)  : 0000EF23 61219
number of pgsp blocks    (npsblks)  : 00000000     0
number of virtual pages  (vpages)   : 00000004     4
freeze count             (frozen)   : 00000000     0
number of epsa blocks    (npseablks): 00000000     0
XPT root seg number      (xptrseg)  : 00000002     2
offset of XPT root       (xptroff)  : 00000302   770
XPT root address                    : C00C0800
(0)> more (^C to quit) ? 
class ID                 (classid)  : 00000000     0
physical attachments     (_att)     : 00000000
mmap reference count     (refcnt)   : 00000000
pvproc ptr & pid                    : E2000400 00000204
mempools                            : 0000000000000000 
non-fblu pageout count   (npopages) : 0000
xmem attach count        (xmemcnt)  : 0000
pages in real memory     (npages)   : 00000004
pinned pages in memory   (npinpages): 00000003
lru pageout count        (npopages) : 00000000
proc pointer             (proc)     : E2000400
page frame at head       (sidlist)  : 00000FCF
max assigned page number (maxvpn)   : FFFFFFFF
lock                     (lock)     :@B047764C 00000000
KDB(0)> scb 
VMM SCBs
Select the scb to display by:
 1) index
 2) sid
 3) srval
 4) search on sibits
 5) search on npsblks
 6) search on nvpages
 7) search on npages
 8) search on npseablks
 9) search on ninpages
 10) search on lock 
 a) search on segment type
 b) add total scb_vpages
 c) search on segment class
 d) search on segment pvproc
Enter your choice: 7

Find all scbs whose npages is greater than (in hex):2000

VMM SCB Addr B04774E0 Index 0000000F of 0000050B  Segment ID: 0001E00F

WORKING STORAGE SEGMENT
> (_segtype)..... working segment
> (_defd)........ deferred disk alloc
> (_system)...... system segment
> (_compseg)..... computational segment
segment info bits        (_sibits)  : 88088000
default storage key      (_defkey)  : 2
extent of growing down   (minvpn)   : 00010000 65536
up limit                 (uplim)    : 0000FFFF 65535
down limit               (downlim)  : 00010000 65536
number of pgsp blocks    (npsblks)  : 00000000     0
number of virtual pages  (vpages)   : 000030F8 12536
freeze count             (frozen)   : 00000000     0
number of epsa blocks    (npseablks): 00000000     0
XPT root seg number      (xptrseg)  : 00000001     1
offset of XPT root       (xptroff)  : 00000333   819
XPT root address                    : C00CCC00
class ID                 (classid)  : 00000000     0
physical attachments     (_att)     : 00000000
(0)> more (^C to quit) ? 
mmap reference count     (refcnt)   : 00000000
non-fblu pageout count   (npopages) : 0000
xmem attach count        (xmemcnt)  : 0015
pages in real memory     (npages)   : 000030F8
pinned pages in memory   (npinpages): 00000CD4
lru pageout count        (npopages) : 00000000
proc pointer             (proc)     : 0028F908
page frame at head       (sidlist)  : 0005F2E0
max assigned page number (maxvpn)   : 000038A2
lock                     (lock)     :@B0477538 00000000

00000001 (hex) matches found with npages > 00002000.
KDB(0)> scb 1
Enter the index (in hex): 0000000F

VMM SCB Addr B04774E0 Index 0000000F of 0000050B  Segment ID: 0001E00F

WORKING STORAGE SEGMENT
> (_segtype)..... working segment
> (_defd)........ deferred disk alloc
> (_system)...... system segment
> (_compseg)..... computational segment
segment info bits        (_sibits)  : 88088000
default storage key      (_defkey)  : 2
extent of growing down   (minvpn)   : 00010000 65536
up limit                 (uplim)    : 0000FFFF 65535
down limit               (downlim)  : 00010000 65536
number of pgsp blocks    (npsblks)  : 00000000     0
number of virtual pages  (vpages)   : 000030F8 12536
freeze count             (frozen)   : 00000000     0
number of epsa blocks    (npseablks): 00000000     0
XPT root seg number      (xptrseg)  : 00000001     1
offset of XPT root       (xptroff)  : 00000333   819
XPT root address                    : C00CCC00
class ID                 (classid)  : 00000000     0
physical attachments     (_att)     : 00000000
(0)> more (^C to quit) ? 
mmap reference count     (refcnt)   : 00000000
non-fblu pageout count   (npopages) : 0000
xmem attach count        (xmemcnt)  : 0015
pages in real memory     (npages)   : 000030F8
pinned pages in memory   (npinpages): 00000CD4
lru pageout count        (npopages) : 00000000
proc pointer             (proc)     : 0028F908
page frame at head       (sidlist)  : 0005F2E0
max assigned page number (maxvpn)   : 000038A2
lock                     (lock)     :@B0477538 00000000
KDB(0)>