aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormj-xmr <mjxmr@protonmail.com>2021-07-06 07:12:33 +0200
committermj-xmr <mjxmr@protonmail.com>2021-07-06 07:12:33 +0200
commiteda5c303cdb816c6fc8ab962332644db418e5865 (patch)
treea412e3029fc97b059c6315b17364f63cd1bf63e4 /src
parentMerge pull request #7743 (diff)
downloadmonero-eda5c303cdb816c6fc8ab962332644db418e5865.tar.xz
Doc: Update blockchain stats with review comments
Diffstat (limited to 'src')
-rw-r--r--src/blockchain_utilities/blockchain-stats-readme.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/blockchain_utilities/blockchain-stats-readme.md b/src/blockchain_utilities/blockchain-stats-readme.md
index e02cd5560..9552a3e67 100644
--- a/src/blockchain_utilities/blockchain-stats-readme.md
+++ b/src/blockchain_utilities/blockchain-stats-readme.md
@@ -10,8 +10,10 @@ From the command line run:
`$ monero-blockchain-stats`
-This loads the existing blockchain and prints the results to the terminal. Default printed data includes Blocks per Day, Total Blocks, Transactions per Day, Total Transactions, Bytes per Day and Total Bytes. The format of the output is in tab delimited csv which is printed to the console. Piping the output of the command to a csv file allows for saving the output of the utilty to a file.
-i.e. `monero-blockchain-stats > stats.csv`
+This loads the existing blockchain and prints the results to the terminal. Default printed data includes Blocks per Day, Total Blocks, Transactions per Day, Total Transactions, Bytes per Day and Total Bytes. The format of the output is in tab delimited csv which is printed to the console. Redirecting or piping the output of the command allows for saving the output to a csv file or feeding your own script accordingly, i.e.:
+
+- `monero-blockchain-stats > stats-$(date +'%Y-%m-%d').csv`
+- `monero-blockchain-stats | save-to-database.sh`
### Options
`--data-dir arg`