check_procs: added working HP-UX support

Hi,
check_procs doesn't properly work on HP-UX systems.
This change makes it working with almost all options. Only rss values are not provided.
Regards,
Yannick