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;
In reply to RE: working with pid's
by moen
in thread working with pid's
by djw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |