devel/p5-Proc-ProcessTable 0.637 FreeBSD
Perl interface to the unix process table
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 27.5 KiB, 56.8 KiB installed
Description
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);
}
}
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Proc-ProcessTable | 0.637 |
| OpenBSD | sysutils/p5-Proc-ProcessTable | 0.637 |
| NetBSD | devel/p5-Proc-ProcessTable | 0.637nb1 |
| DragonFly | devel/p5-Proc-ProcessTable | 0.636 |
Install
Binary package:
pkg install p5-Proc-ProcessTable
From the ports tree:
cd /usr/ports/devel/p5-Proc-ProcessTable/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Proc-ProcessTable>0:devel/p5-Proc-ProcessTable
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.637 | 0.637 | 0.634 | 0.637 | 0.637 |
| FreeBSD:14:quarterly | 0.637 | 0.637 | n/a | 0.636 | 0.637 |
| FreeBSD:15:latest | 0.637 | 0.637 | n/a | 0.637 | 0.637 |
| FreeBSD:15:quarterly | 0.637 | 0.637 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.637 | 0.637 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Required by 23
- devel/cvsmonitor
- devel/p5-Border-Style
- devel/p5-Color-Theme-Role
- devel/p5-Proc-Find-Parents
- devel/p5-Term-App-Roles
- devel/p5-Term-App-Util-Color
- devel/p5-Term-Detect-Software
- graphics/gscan2pdf
- mail/imapsync
- mail/p5-Mail-Milter-Authentication
- net/p5-Net-Connection-Match
- net/p5-Net-Connection-lsof
- net/p5-Net-Connection-ncnetstat
- security/p5-openxpki
- sysutils/p5-Proc-ProcessTable-Colorizer
- sysutils/p5-Proc-ProcessTable-InfoString
- sysutils/p5-Proc-ProcessTable-Match
- sysutils/p5-Proc-ProcessTable-ncps
- sysutils/p5-Schedule-Load
- textproc/p5-Sphinx-Manager
- textproc/p5-Text-ANSITable
- textproc/p5-Text-Table-Any
- www/ljdeps
Configuration
Options name: devel_Proc-ProcessTable
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 13
- %%SITE_ARCH%%/Proc/Killall.pm
- %%SITE_ARCH%%/Proc/Killfam.pm
- %%SITE_ARCH%%/Proc/ProcessTable.pm
- %%SITE_ARCH%%/Proc/ProcessTable/Process.pm
- %%SITE_ARCH%%/auto/Proc/ProcessTable/Process/autosplit.ix
- %%SITE_ARCH%%/auto/Proc/ProcessTable/ProcessTable.so
- %%PERL5_MAN3%%/Proc::Killall.3.gz
- %%PERL5_MAN3%%/Proc::Killfam.3.gz
- %%PERL5_MAN3%%/Proc::ProcessTable.3.gz
- %%PERL5_MAN3%%/Proc::ProcessTable::Process.3.gz
- share/doc/p5-Proc-ProcessTable/README
- share/doc/p5-Proc-ProcessTable/README.freebsd-kvm
- share/doc/p5-Proc-ProcessTable/README.freebsd-procfs
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Proc-ProcessTable-0.637.tar.gz | 95719 | d7e688b5f0bd5d38e5bb306f16f904aac93112df8eda098fefef1c810bba6f85 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.