I've tried Monero-wallet-cli, and following are two transactions:
0.01 XMR by 526 bytes: http://moneroblocks.info/tx/99dae4c9ec68c8b4eb7f9f40a2c01f481d3b979ce97b5e0b2b5f55c759be11f6
0.008 XMR by 3709 bytes: http://moneroblocks.info/tx/9554b072a522e12bf6de27668cfb34cb1351891635ac49c132aeefa3e16bea8d
Why the second transaction is with 0.008 given by 3709 bytes? Which is much larger than 526 bytes. Because monero transaction fee is not calculated by size?
The first transaction, I used
transfer command, and I was actually transferring 0.2 XMR.
monero-wallet-cli added another 0.09 xmr, and locked it for a while.
The second transaction I used
sweep_all command to transfer all out of my wallet.
thank you :)