fb16dfecae
Commit b7f05445c0
has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
20 lines
846 B
Text
20 lines
846 B
Text
This module is a first crack at providing a consistent interface to Unix (and
|
|
maybe other multitasking OS's) process table information. The impetus for this
|
|
came about with my frustration at having to parse the output of various systems'
|
|
ps commands to check whether specific processes were running on different boxes
|
|
at a larged mixed Unix site. The output format of ps was different on each OS,
|
|
and sometimes changed with each new release of an OS. Also, running a ps
|
|
subprocess from within a perl or shell script and parsing the output was not a
|
|
very efficient or aesthetic way to do things.
|
|
|
|
With this module, you can do things like this:
|
|
|
|
# kill memory pigs
|
|
use Proc::ProcessTable;
|
|
|
|
my $t = Proc::ProcessTable->new;
|
|
foreach my $p ( @{$t->table} ) {
|
|
if( $p->pctmem > 95 ){
|
|
$p->kill(9);
|
|
}
|
|
}
|