Created
June 25, 2020 02:38
-
-
Save imylomylo/9f3d69c7cec36bc9f8e58f0b29a18e3c to your computer and use it in GitHub Desktop.
nn benchmark
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
UTXO_TX=$(time (~/komodo/src/komodo-cli listunspent | jq '. | { "utxos" : length }' && ~/komodo/src/komodo-cli getwalletinfo | jq '{ "txcount" : .txcount }') | jq -s add) | |
CPU_MODEL=$(cat /proc/cpuinfo | grep -m 1 "model name" | awk -F ':' '{print $2}') | |
MEM=$(free | grep Mem | awk '{print $2}') | |
SWAP=$(free | grep Swap | awk '{print $2}') | |
PROCESSES=$(ps aux | wc -l) | |
HDD_RW=$(sudo hdparm -Tt --direct /dev/nvme0n1 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment