in reply to get name of process with pid
But check the manual page of your systems ps. Different OSses have different psses using different command line switches.my $cmd = `ps -hp $PID -o %c`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: get name of process with pid
by lorn (Monk) on Nov 18, 2005 at 16:42 UTC | |
by davorg (Chancellor) on Nov 18, 2005 at 16:51 UTC | |
by lorn (Monk) on Nov 18, 2005 at 17:04 UTC | |
by davorg (Chancellor) on Nov 18, 2005 at 19:31 UTC | |
by vek (Prior) on Nov 19, 2005 at 11:56 UTC |