aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-07-27 17:01:42 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-07-27 17:01:42 -0400
commitd9c9a11c54f8c321a9b3bb55e2be9a58217d114d (patch)
treedc3b90a912d0230615295d4cb83c8175479ca04e /src
parentMerge pull request #7771 (diff)
parentDoc: Update blockchain stats with review comments (diff)
downloadmonero-d9c9a11c54f8c321a9b3bb55e2be9a58217d114d.tar.xz
Merge pull request #7772
eda5c30 Doc: Update blockchain stats with review comments (mj-xmr)
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`