buffer subcommand

The buffer subcommand displays buffer cache headers.

Format

buffer [slot | effectiveaddress]

Parameters

Item Description
slot Specifies the buffer pool slot number. This parameter must be a decimal value.
effectiveaddress Specifies the effective address of a buffer pool entry. Use symbols, hexadecimal values, or hexadecimal expressions to specify the address.

Other

buf

Examples

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

   KDB(0)> buf  //print buffer pool
     1 057E4000 nodevice 00000000 00000000
     2 057E4058 nodevice 00000000 00000000
     3 057E40B0 nodevice 00000000 00000000
     4 057E4108 nodevice 00000000 00000000
     5 057E4160 nodevice 00000000 00000000
   ...
    18 057E45D8 nodevice 00000000 00000000
    19 057E4630 000A0011 00000000 00000100 READ DONE STALE MPSAFE MPSAFE_INITIAL
    20 057E4688 000A0011 00000000 00000008 READ DONE STALE MPSAFE MPSAFE_INITIAL
   KDB(0) buf 19  //print buffer slot 19
                     DEV    VNODE    BLKNO FLAGS
   
    19 057E4630 000A0011 00000000 00000100 READ DONE STALE MPSAFE MPSAFE_INITIAL
   
   forw     0562F0CC back     0562F0CC av_forw  057E45D8 av_back  057E4688
   blkno    00000100 addr     0580C000 bcount   00001000 resid    00000000
   error    00000000 work     80000000 options  00000000 event    FFFFFFFF
   iodone:  biodone+000000
   start.tv_sec       00000000 start.tv_nsec      00000000
   xmemd.aspace_id    00000000 xmemd.xm_flag      00000000 xmemd.xm_version   00000000
   xmemd.subspace_id  00000000 xmemd.subspace_id2 00000000 xmemd.uaddr        00000000
   KDB(0)> pdt 17  //print paging device slot 17 (the 1st FS)
   
   PDT address B69C0440 entry 17 of 511, type: FILESYSTEM
   next pdt on i/o list  (nextio)  : FFFFFFFF
   dev_t or strategy ptr (device)  : 000A0007
   last frame w/pend I/O (iotail)  : FFFFFFFF
   free buf_struct list  (bufstr)  : 056B2108
   total buf structs     (nbufs)   : 005D
   available (PAGING)    (avail)   : 0000
   JFS  disk agsize      (agsize)  : 0800
   JFS inode agsize      (iagsize) : 0800
   JFS log SCB index     (logsidx) : 00035
   JFS fragments per page(fperpage): 1
   JFS compression type  (comptype): 0
   JFS log2 bigalloc mult(bigexp)  : 0
   disk map srval        (dmsrval) : 00002021
   i/o's not finished    (iocnt)   : 00000000
   lock                  (lock)    : E8003200
   KDB(0)> buf 056B2108  //print paging device first free buffer
                     DEV    VNODE    BLKNO FLAGS
   
     0 056B2108 000A0007 00000000 00000048 DONE SPLIT MPSAFE MPSAFE_INITIAL
   
   forw     0007DAB3 back     00000000 av_forw  056B20B0 av_back  00000000
   blkno    00000048 addr     00000000 bcount   00001000 resid    00000000
   error    00000000 work     00400000 options  00000000 event    00000000
   iodone:  v_pfend+000000
   start.tv_sec       00000000 start.tv_nsec      00000000
   xmemd.aspace_id    00000000 xmemd.xm_flag      00000000 xmemd.xm_version   00000000
   xmemd.subspace_id  0083E01F xmemd.subspace_id2 00000000 xmemd.uaddr        00000000