Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Feature: Is it possible to add PID? #37

Open
zeroarst opened this issue May 13, 2021 · 5 comments
Open

Feature: Is it possible to add PID? #37

zeroarst opened this issue May 13, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request waiting for something Waiting for more Info or a pull request, or whatever

Comments

@zeroarst
Copy link

zeroarst commented May 13, 2021

First thank you for developing this great tool !

Just one thing is good to have is the PID. If we can see each plot's PID then it is easier for us to use it to delete the plot from task manager.

A clue will be those PIDs are located in C:\Users\UserName\.chia\mainnet\run. Each plots has a PID file associated.

@grayfallstown grayfallstown added the enhancement New feature or request label May 13, 2021
@grayfallstown
Copy link
Owner

Will look into it

@grayfallstown
Copy link
Owner

The filenames are basically random UUIDs and the contents of those files are only the pid itself and a line break:

chia-plots-create8e11fe5d-8a49-4588-bf32-7f2f23181bc0.pid

5536

There is no way to link a pid to a plot log with that information alone.

It could be possible to iterate all running windows processes and compare the settings in the chia parameters with the values in the plot logs and try to find a single match that way.

This would only work for plotting processes running on the same machine as Chia Plot Status and not for remote Plotting Rigs.

The bigger problem is that anti virus software is not a big fan programs iterating through all running processes the user has access to and Chia Plot Status already has a history of false positives

I will make a pull request to chiapos writing the PID to the logfile, but even if it gets merged it will take a while to get merged and probably even longer to become part of a chia-blockchain release.

@grayfallstown grayfallstown self-assigned this May 14, 2021
@grayfallstown
Copy link
Owner

grayfallstown commented May 14, 2021

Pull request to add process id to chiapos logs created. Will implement this feature once it is part of a chia-blockchain release.

@grayfallstown grayfallstown added the waiting for something Waiting for more Info or a pull request, or whatever label May 14, 2021
@grayfallstown
Copy link
Owner

Just got merged into chiapos main. Waiting for it to get into an official chia-blockchain release.

@grayfallstown
Copy link
Owner

PID will be in the next version.
chia-plotter already has this in both the linux and the windows version.
chiapos (official plotter) does have this in their repository, but not in the official chia release, but a lot of people use pechy which already has it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request waiting for something Waiting for more Info or a pull request, or whatever
Projects
None yet
Development

No branches or pull requests

2 participants