Why is the output of db2pd and database config file giving different output for current log number? Please find below the lines written in green for comparision.
$ db2pd -database websph -logs
Database Partition 0 -- Database websph -- Active -- Up 2 days 04:50:42
Logs:
Current Log Number 44520
Pages Written 2791
Method 1 Archive Status Success
Method 1 Next Log to Archive 44520
Method 1 First Failure n/a
Method 2 Archive Status n/a
Method 2 Next Log to Archive n/a
Method 2 First Failure n/a
Address StartLSN State Size Pages Filename
0x078000006267ABB8 0x0087BF860000 0x00000000 4000 1476 S0044519.LOG
0x078000002001FE78 0x0087C0800000 0x00000000 4000 4000 S0044520.LOG
0x078000002001FF38 0x0087C17A0000 0x00000000 4000 4000 S0044521.LOG
$ db2 get db cfg for websph|grep " First active log file"
First active log file = S0044519.LOG