Check which environment variables are being used in the current Syncthing instance?

I have just a quick question, as I have not been able to figure this out. Basically, is it possible to check which environment variables are being used in the current instance of Syncthing?

For instance, if I set GOMAXPROCS=1, I do know that Syncthing is using it by looking at the limited folder concurrency, but is there any way to simply check the current value, either from the GUI, or using CLI?

Nothing implemented in Syncthing, but depending on the operating system you might ask it for the env vars for a given process.

1 Like

Got it. Thank you very much :slightly_smiling_face:.

For Windows, Process Explorer (proprietary, MS) or Process Hacker (FOSS) can do it. Funnily enough, I did not realise that these tools had this capability even though I have been using them for years.

1 Like