-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
kind/featureKind: FeatureKind: Feature
Description
Checklist
- This is not brainstorming ideas. If you have an idea you'd like to discuss, please open a new discussion on the lotus forum and select the category as
Ideas
. - I have a specific, actionable, and well motivated feature request to propose.
Lotus component
- lotus daemon - chain sync
- lotus fvm/fevm - Lotus FVM and FEVM interactions
- lotus miner/worker - sealing
- lotus miner - proving(WindowPoSt/WinningPoSt)
- lotus JSON-RPC API
- lotus message management (mpool)
- Other
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
If you have multiple repos running on the same machine, it would be convenient to be able to easily identify which pid corresponds to which repo.
Describe the solution you'd like
repo.lock
is currently an empty file. I think it should contain the PID.
Describe alternatives you've considered
While you could get the PID from programs like ps
, when the repo is already running it would be convenient to find the PID, which can then be checked to see if the process is still running.
Additional context
I am writing a few tools that start and stop these. Normally they might be longer-running but for my use case they won't run very long. One failure case happens if the repo is already running.
Metadata
Metadata
Assignees
Labels
kind/featureKind: FeatureKind: Feature
Type
Projects
Status
📌 Triage