MrPig91 / PSChiaPlotter

A repo for powershell module that helps Chia Plotting
MIT License
181 stars 47 forks source link

Get-ChiaPlottingStatistic not process all logs files from a network share #93

Closed pipone closed 3 years ago

pipone commented 3 years ago

I have a Win10 box which access to linux shared plot-log folders (via samba)

When I run:

Get-ChiaPlottingStatistic -Path:w:\*.log

I get statistics only of the newer log file (only 1 file is processed)

Is there any permissions to set regarding accesing network shares?

Thanks!

pipone commented 3 years ago
PS V:\> Get-ChiaPlottingStatistic -Path:v:\*

KSize RAM   Threads Phase 1     Phase 2     Phase 3     Phase 4     Total Plot  Plot And Copy Time Copy Time   Temp  Final
                                                                    Time                                                  
----- ---   ------- -------     -------     -------     -------     ----------- ------------------ ---------   ----  -----
32    3389  2       4.12 hrs    1.66 hrs    3.59 hrs    13.97 mins  9.21 hrs    9.43 hrs           13.57 mins  /m... /p...

PS V:\> (Get-ChildItem | Measure-Object).Count
167

PS V:\>
MrPig91 commented 3 years ago

Try running the following Get-ChiaPlottingStatistic -Path (Get-ChildItem -Path w:\*.log).FullName

MrPig91 commented 3 years ago

You can also run Get-ChildItem -Path w:\*.log | Get-ChiaPlottingStatistic

pipone commented 3 years ago

Get-ChiaPlottingStatistic -Path (Get-ChildItem -Path w:*.log).FullName

That did the trick!!! I am so newbie with Powershell :(

Thanks a lot!!!

MrPig91 commented 3 years ago

Glad a could help :)

pipone commented 3 years ago

The pipe would be a nice adding! Maybe I could mix two paths as Get-ChiaPlottingStatistic input. Awesome job!