Michael Barnes wrote:
>
> This may be a bit advanced for a beginner's group, but I need to have my
> script create a pidfile.  I'm running a monitor app that keeps track of
> what is running and notifies me when stuff stops.  It does it by
> comparing the pid in the pidfile with ps.  So, I need my script to
> create a pidfile when it starts.
> 
> Ideas appreciated.

This is far more than a beginners' group, but your post is heavy with Unix 
terminology. Remember that this is a cross-platform group.

I know that a PID is a process ID, and I can imagine what a 'pidfile' might be, 
but 'comparing the pid in the pidfile with ps' is nonsense.

Explain the problem, and we will help to solve it.

Rob

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to