Hi Bill
Actually in /tmp  :) 
But as well as the lockfile, I also found /tmp/WSJTX
and lurking in that directory is a file wsjtx_status.txt
which I can check for its existence, its only there when WSJTX is running
which means the lockfile is untouched.
Thanks


On Fri, 15 Apr 2016 16:50:05 +0100
Bill Somerville <g4...@classdesign.com> wrote:

> On 15/04/2016 16:25, Richard Bown wrote:
> > where is the lock file stored when wsjtx is running ?
> > I'd like to change the screen resolution when running wsjtx and looking for
> > a file to test, as an alternative to greping from the process ID.
> > I could start wsjtx from a shell script and change the screen res there, 
> > but I still need to
> > test when it shuts down.
> Hi Ricard,
> 
> the lock file is in $TMP. You must be careful not to lock the file 
> yourself if you are going to scan for it.
> 
> Anther, and much better, option is to use the UDP broadcasts that WSJT-X 
> can send, you need to write a trivial UDP server to receive them and for 
> what you want you can simply look for a couple of different messages. 
> Messages are documented in NetworkMessage.hpp and a sample UDP server 
> daemon is built by WSJT-X. The example server is called UDPDaemon.cpp 
> and the executable is udp_daemon.
> 
> The MessageServer class that UDPDaemon uses already provides two signals 
> for client (WSJT-X is the client here) opened and client closed so you 
> just need to hook onto those with your stuff.
> 
> 73
> Bill
> G4WJS.
> 
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel



-- 
-- 
Best wishes /73 
Richard Bown

Email : rich...@g8jvm.com
HTTP  :  http://www.g8jvm.com
nil carborundum a illegitemis
##################################################################################
Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms 100W & 3cms 5W
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W
OS: Linux Mint 17.3 x86_64 on a Dell Inspiron N5030 laptop
##################################################################################
 


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to