BBED examine命令
BBED> set dba 1,33129DBA 0x00408169 (4227433 1,33129)
BBED> p *kdbr
rowdata
----------
ub1 rowdata @8182 0x2c
BBED> x /rn
rowdata @8182
----------
flag@8182: 0x2c (KDRHFL, KDRHFF, KDRHFH)
lock@8183: 0x01
cols@8184: 1
col 0 @8185: 1
/r Oracle table/index row
/c Character
/n Oracle Number
Forexample if we wanted to interpret data as an Oracle table row with the firstcolumn character and the second and third columns numeric, we would execute thecommand as follows:
BBED>x /rcnn
--------------------------------------------------------------------
BBED> p kdbhnrow
sb2 kdbhnrow @94 2
这个block上总共有2 个rows
BBED> p *kdbr
rowdata
----------
ub1 rowdata @8176 0x2c
用print 将位置指向最后一个row。
BBED> x /2rn
rowdata @8176
----------
flag@8176: 0x2c (KDRHFL, KDRHFF, KDRHFH)
lock@8177: 0x01
cols@8178: 1
col 0 @8179: 2
rowdata @8182
----------
flag@8182: 0x2c (KDRHFL, KDRHFF, KDRHFH)
lock@8183: 0x01
cols@8184: 1
col 0 @8185: 1
examine 显示2次。
Oracle使用block 是从底向上的。 假如当前current row 是3,repeat 2次,那么row 3 和row 2 将被显示。
页:
[1]