in reply to Getting Process ID from process name

The module Proc::ProcessTable on cpan will give you a hook into the processlist for your OS. As per the README, it does support HPUX:

Mike Romberg <romberg@fsl.noaa.gov> HPUX port

I've used this in linux, so cannot vouch for the HPUX support, but it says that it's there.
  • Comment on Re: Getting Process ID from process name