in reply to How do i obtain the PID of a program already running.

The options on ps vary greatly from one OS to another. Use your system's man command to find the syntax of ps for your os.

The Proc::ProcessTable module gives you a relatively OS independant way of getting and working with a process list.

--
lhoward
  • Comment on Re: How do i obtain the PID of a program already running.