in reply to working with pid's
It will at least return the pid, and you can do whatever you like with it.#!/usr/bin/perl -w open(PH, "ps -A|"); while (<PH>) { if (/q3ded/) { /\b(\d+)\b/; $pid = $1; } } print $pid;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: working with pid's
by moen (Hermit) on Sep 18, 2000 at 17:41 UTC |