Success rate script - Now updated for new delete terminology since v1.29.3

Hey folks, I recently converted Alexeys awesome Success rate Powershell script to output in HTML instead of console so I can view it remotely. Just leaving it here in case anyone else would find that useful. Alexey feel free to copy to your repository so it’s consolidated, I added credit to your original script at the top.

WARNING: My version wipes the logs after running for a daily snapshot. This helps it complete in under 10 minutes (vs parsing days of log entries)

Powershell_Scripts/Storj/Success_Rate_To_HTML.ps1 at main · AtomicInternet2/Powershell_Scripts (github.com)

You can see the result here under the “Success Rate” section

AtomicInternet Crypto Status

I can move your post to the getting started category with useful-tools tag

Or you can add it to the top post here (it’s a WiKi), so you should be able to modify it.

hey dumb question on this script but what is the exact syntax when I want ot specify a different docker container?

Let’s say my containers are called storj1, storj2, storj3.

If I try

./successrate.sh storj1

or


bash successrate.sh storj1

I don’t get any output.

I can manually edit the script to have the default container name be my particular container, but the defeats the purpose of the command line.

I’m also using docker, but I point it directly to the log file, like so:

./successrate.sh /path/node.log

Could this be a solution?

If you have redirected your logs to a file, you indeed have to pass the path to the log file as @DutchSNO said. If you use the container name, it searches the docker logs, which won’t have any logs when they are redirected. So which one works depends on your setup.

yeah my logs are not redirected so just use the docker logs.

but then my “bash successrate.sh storj1” doesn’t work as a valid command line.