in reply to Re^3: Process display
in thread Process display

Hi, Thanks for all replies. I think the path also is correct, otherwise I need to get some error. When I execute the code I am not getting any output at all. The only difference which I find in the ps -ef output is the "?" in HPUX and "-" in AIX
juserl 8593596 1 0 Oct 15 - 0:43 co_java_for03
juserl 23107 1 0 Oct 15 ? 1:15 co_java_burl9
I need the output of the perl script to be
for03 burl9

Replies are listed 'Best First'.
Re^5: Process display
by ikegami (Patriarch) on Oct 21, 2005 at 14:53 UTC
    Something you say isn't true, or your perl is very broken because
    while (<DATA>) { print $1 if /\bco_java_(\w+\n)/; } __DATA__ juserl 8593596 1 0 Oct 15 - 0:43 co_java_for03 juserl 23107 1 0 Oct 15 ? 1:15 co_java_burl9
    outputs
    for03 burl9