subcomando buffer

El submandato buffer muestra las cabeceras de memoria caché de almacenamiento intermedio.

Formato

buffer [ranura | dirección_efectiva]

Parámetros

Elemento Descripción
slot Especifica el número de ranura de agrupación de almacenamiento intermedio. Este parámetro debe ser un valor decimal.
directivedirección Especifica la dirección efectiva de una entrada de agrupación de almacenamiento intermedio. Utilice símbolos, valores hexadecimales o expresiones hexadecimales para especificar la dirección.

Otro

buf

Ejemplos

A continuación se muestra un ejemplo de cómo utilizar el submandato buffer :

   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