BSD Ports

devel/p5-BSD-Resource 1.2911 MidnightBSD

Perl module to access BSD resource limit and priority functions

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic2, gpl2
Categories
devel, perl5

Description

This Perl extension implements the BSD process resource limit functions

getrusage()	getrlimit()	setrlimit()

and the BSD process priority functions. These are available also via core Perl but here we do more tricks so that the PRIO_* are available.

getpriority()	setpriority()

Also is provided

times()

which provides the same functionality as the one in core Perl, only with better time resolution.

In the other systems

The newest version among them is 1.2911, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-BSD-Resource1.2911 newestno data-[email protected]-
FreeBSDdevel/p5-BSD-Resource1.2911 newestnone known-[email protected]-
OpenBSDdevel/p5-BSD-Resource1.2911p0 newestno data-Alexander Bluhm <[email protected]>-
NetBSDdevel/p5-BSD-Resource1.29.11nb10none known-[email protected]2026-07-16
DragonFlydevel/p5-BSD-Resource1.2911 newestnone known-[email protected]-
HardenedBSDdevel/p5-BSD-Resource1.2911 newestno data-[email protected]-
GhostBSDdevel/p5-BSD-Resource1.2911 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-BSD-Resource

From mports:

cd /usr/mports/devel/p5-BSD-Resource && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-BSD-Resource>0:devel/p5-BSD-Resource

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Test 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 33
  • %%SITE_ARCH%%/BSD/Resource.pm
  • %%SITE_ARCH%%/auto/BSD/Resource/Resource.so
  • %%SITE_ARCH%%/auto/BSD/Resource/_find_prio.al
  • %%SITE_ARCH%%/auto/BSD/Resource/_find_rlimit.al
  • %%SITE_ARCH%%/auto/BSD/Resource/_g.al
  • %%SITE_ARCH%%/auto/BSD/Resource/autosplit.ix
  • %%SITE_ARCH%%/auto/BSD/Resource/get_prios.al
  • %%SITE_ARCH%%/auto/BSD/Resource/get_rlimits.al
  • %%SITE_ARCH%%/auto/BSD/Resource/getpriority.al
  • %%SITE_ARCH%%/auto/BSD/Resource/getrlimit.al
  • %%SITE_ARCH%%/auto/BSD/Resource/getrusage.al
  • %%SITE_ARCH%%/auto/BSD/Resource/hard.al
  • %%SITE_ARCH%%/auto/BSD/Resource/idrss.al
  • %%SITE_ARCH%%/auto/BSD/Resource/inblock.al
  • %%SITE_ARCH%%/auto/BSD/Resource/isrss.al
  • %%SITE_ARCH%%/auto/BSD/Resource/ixrss.al
  • %%SITE_ARCH%%/auto/BSD/Resource/majflt.al
  • %%SITE_ARCH%%/auto/BSD/Resource/maxrss.al
  • %%SITE_ARCH%%/auto/BSD/Resource/minflt.al
  • %%SITE_ARCH%%/auto/BSD/Resource/msgrcv.al
  • %%SITE_ARCH%%/auto/BSD/Resource/msgsnd.al
  • %%SITE_ARCH%%/auto/BSD/Resource/nivcsw.al
  • %%SITE_ARCH%%/auto/BSD/Resource/nsignals.al
  • %%SITE_ARCH%%/auto/BSD/Resource/nswap.al
  • %%SITE_ARCH%%/auto/BSD/Resource/nvcsw.al
  • %%SITE_ARCH%%/auto/BSD/Resource/oublock.al
  • %%SITE_ARCH%%/auto/BSD/Resource/setpriority.al
  • %%SITE_ARCH%%/auto/BSD/Resource/setrlimit.al
  • %%SITE_ARCH%%/auto/BSD/Resource/soft.al
  • %%SITE_ARCH%%/auto/BSD/Resource/stime.al
  • %%SITE_ARCH%%/auto/BSD/Resource/times.al
  • %%SITE_ARCH%%/auto/BSD/Resource/utime.al
  • %%PERL5_MAN3%%/BSD::Resource.3.gz
distinfo 1
FileSizeSHA256
BSD-Resource-1.2911.tar.gz681839d1cfba063cc18f72427a22451f7908836b7331ac8785dbe07553c5b043a0c3d
Master sites 1
  • CPAN