Last active
February 16, 2022 11:52
-
-
Save inigoflores/3b878e2a7003f7ec7a9c2dc46c597e0c to your computer and use it in GitHub Desktop.
Pisces RSSI/SNR Profile
This file contains 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 | |
grep -E 'miner_onion_server:decrypt:{[0-9]+,[0-9]+} sending witness at RSSI' /home/pi/hnt/miner/log/console.log* | \ | |
awk '{print $10,$14}' | sort -nr | uniq -c | \ | |
awk '{printf "RSSI: %s SNR: %s Noise: %s, Count: %s\n", $2, $3, ($2 - $3), $1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment