> In the current scenario, the fcgi process is started by a lighttpd script 
> using the following command.
> 
> daemon $FCGI_DAEMON -f $webfcgi -a $FCGI_SOCKET_IP -p $FCGI_SOCKET_PORT 
> -P $FCGI_PIDFILE
> 
> I am more interested in tracking the fcgi process than lighttpd.


Create an executable shell script like:

        #!/bin/bash
        valgrind  <valgrind_parameters>  $webfcgi  "$@"

then in the 'daemon' line change "$webfcgi" to be a path to the shell script.

-- 

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to