Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2004 21:30:01 +0300
From:      JohnsoBS@vicksburg.navy.mil
To:        jxkoepk@gmail.com, freebsd-questions@freebsd.org
Subject:   RE: Python Issue
Message-ID:  <CE2BFBAA80DD874BB737A4E2C53AA44903B01929@CG69UBD01>

next in thread | raw e-mail | index | archive | help


> -----Original Message-----
> From: John Koepke [mailto:jxkoepk@gmail.com]
> Sent: Monday, October 18, 2004 8:18 PM
> To: freebsd-questions@freebsd.org
> Subject: Python Issue
> 
> 
> Hey all,
>      I have asked this before but this time I am subscribed to the
> list.  I current have a PHP script that runs various Python scripts. 
> It checks to see if they are running, by doing a ps -ax -w -w | grep
> and the script name.  But for some reason Python shows just (python)
> if you do a ps.  It doesn't show that anything is running but
> (python).  I can only assume that this is some sort of patch or
> setting when python was installed.
>      Other than just downloading the python source and re-building my
> box, is there a way to fix this issue?
> 
> Python 2.3.4_2 (installed via the PortsTree)
> PhP 4 (Installed Via the Ports Tree)
> 
> Any help would be GREATLY appreciated.
> 
> John

If it was me, I would have the scripts themselves creater a pid file, and 
query the pid file for the pid it last used and see if that pid is active
and 
being used by python.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE2BFBAA80DD874BB737A4E2C53AA44903B01929>