File: README

package info (click to toggle)
libbsd-resource-perl 1.24-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 132 kB
  • ctags: 13
  • sloc: perl: 87
file content (53 lines) | stat: -rw-r--r-- 1,496 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# README
#

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.

To install read the INSTALL.

Documentation is available in pod format in Resource.pm.

-- 
Jarkko Hietaniemi <jhi@iki.fi>
2002-11-15
---------------

NOTE 0: Perl 5 is required. Also is required the same C compilation
environment that was used to compile that Perl 5.

NOTE 1: If your operating system does not support these BSD functions,
Perl cannot help. In detailed terms: you _must_ have the C header file
<sys/resource.h> *). If you do not, this package is of little use to you.

NOTE 2: The header file alone is not enough: you must have library
support also. The C compiler include paths (-I...) and library paths
(-L...) and the attempted libraries (-l...) are listed in Makefile.PL.

NOTE 3: You cannot set or get 64-bit rlimits for setrlimit()
and getrlimit().  This is a limitation of Perl, it does not handle
64 bit integers.

NOTE 4: More caveats (vendors' sloppy support for these things,
et alia)  in the Resource.pm inlined pod doc.

---------------

*) There is one exception to this on one platform. The terminally curious
   can find out where.

# eof