I’m hoping someone might be able to help with this. I want to run the Chis Plots Check command, but with several thousand plots on multiple servers, I don’t want to have to scroll through thousands of lines of code to get to the plots with errors. I asked ChatGPT & it gave me this:
./chia.bin plots check -n 30 | grep -B 1 “ERROR”
It said this also:
"This command will run the plot check and then use grep to search for lines containing “ERROR”. The -B 1 flag tells grep to also print one line before the match, which usually contains the plot’s filename.
Keep in mind that the effectiveness of this command depends on how errors are logged in the Chia output. The log messages and their format can vary between versions of Chia, so you might need to adjust the grep pattern accordingly."
Does anyone have something that will ONLY output the plots with errors, so I can only see those?
My Windows version has no “chia.bin” file.
Is that a Linux-only file?
You can run:
chia plots check 2> somefile.txt
…and then grep that file, or use any tools you want on that file.
You could pipe the output to some tool, instead of redirecting the output to a file.
But having the output in a file would probably make for a more useful outcome.
It will take a long time to run. You can speed it up with the “-n” opttion.
chia plots check -n 5 2> somefile.txt
The default “-n” value is 30 (30 checks for each plot).
So “n -5” will get the job done in 1/6th the time (and “5” is the lowest valid value for the “-n” option). But will “n -5” miss a plot with an error that you are seeking? I don’t think so. But “n -5” is a less thorough check.
Lastly, you will have to run your check on each harvester box.
I have multiple plotters that can do around 2.5-3min per plot, each (nossd C15).
My internet connection is gigabit (fiber), the upload is probably limited at half, around 500mbit most likely. But it will depend a lot on the destination, there might be different speeds depending on the destination.
Reach out to me if you’d like to discuss.