"ps -o" equivalent in HP-UX

From: Phil (philv_at_netspace.net.au)
Date: 10/28/04


Date: Fri, 29 Oct 2004 01:45:18 +1000

Hi all,

I need to write script to system call the SunOS 'ps -o args="" PID'
equivalent in HP-UX - basically just to call up the process of the PID.
What would be the best way of doing so, without using external aid (eg
awk/sed/perl/csh etc.), but only the "ps"'s own arguments ?

Thanks in advance,
Phil



Relevant Pages

  • SUMMARY: Minimum PID number
    ... Tru-Cluster encodes the member-ID in the respective PIDs to keep them ... No one was sure how HP-UX comes up with their PID ...
    (Tru64-UNIX-Managers)
  • Re: help with getting pid!!
    ... I am new to perl programming, I have return a perl script to get the ... pid of all my_app currently running on HP-UX box, ... It doesnt give the pid of my_app am I doing some thing wrong here?? ...
    (comp.lang.perl.misc)
  • Re: Find existence of a proc
    ... > on HP-UX ... UNIX95= ps -C httpd -o pid ...
    (comp.unix.shell)