Differences between revisions 3 and 7 (spanning 4 versions)
Revision 3 as of 2022-02-21 01:06:36
Size: 179
Editor: 58
Comment:
Revision 7 as of 2022-02-21 01:16:08
Size: 1022
Editor: 58
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Display altered bytes at the end of any ALT line , after the Tag, "ChgBytes:"

==== Example: ====
Line 7: Line 10:
will append the altered bytes to the ALT type log ==== Output line: ====
{{{
160222 09:17:00 cc 10 stpost Alt STOCK_LOG 1 1002595 ECLIPSE CHAIR YELLOW CODE FABRIC 2609 ChgBytes: 124-125,3076-3077,3172,3333-3334,3336
}}}
=== -f <filename> : specify input log file ===
==== Example: ====
{{{
readmin -f log.22feb17-0
}}}
=== -m <logid:offset:datatype> ===
Search the log file for Alter logs, that changed a paticular field on one type of record.
Line 9: Line 22:
example possible output line. logid is the control log identifier which you can easily find out using fdbstat.
Line 12: Line 25:
fdbstat -v /u/cc/comp/file.dat
Filename flags ssize/ vsize/ bucsiz/ 1stbuc/ # bucs/ lastbuc nulls log release
                     prelen suflen keysize elsize maxnkey lastnod ok ? id alphalen

stock.dat MASTER 3072 1024 4096 2 0 1147 9 64

readmin advance usage.

-c : display changed byte

Display altered bytes at the end of any ALT line , after the Tag, "ChgBytes:"

Example:

readmin -c

Output line:

160222 09:17:00  cc       10   stpost    Alt  STOCK_LOG  1  1002595         ECLIPSE CHAIR YELLOW CODE FABRIC              2609 ChgBytes: 124-125,3076-3077,3172,3333-3334,3336

-f <filename> : specify input log file

Example:

readmin -f log.22feb17-0

-m <logid:offset:datatype>

Search the log file for Alter logs, that changed a paticular field on one type of record.

logid is the control log identifier which you can easily find out using fdbstat.

fdbstat -v /u/cc/comp/file.dat
Filename      flags  ssize/ vsize/ bucsiz/ 1stbuc/ # bucs/ lastbuc nulls log     release 
                     prelen suflen keysize elsize  maxnkey lastnod ok ?  id      alphalen

stock.dat     MASTER 3072   1024   4096    2       0       1147          9       64

readmin (last edited 2022-02-21 03:02:38 by 58)