1Process(3)            User Contributed Perl Documentation           Process(3)
2
3
4

NAME

6       Unix::Process - Perl extension to get pid info from (/usr/bin/ps).
7

SYNOPSIS

9         use Unix::Process;
10
11           my $vsz = Unix::Process->vsz($$);
12           my $pid = Unix::Process->pid;
13

DESCRIPTION

15       All fields from the ps command can be fetched by calling a function of
16       their name (see SYNOPSIS).  If the pid is not given as an argument to
17       the function, $$ (cur pid) is assumed.
18
19       This module is really just a giant AUTOLOAD to interact with the
20       /usr/bin/ps command.  I suppose I could be talked into doing something
21       real with it some day.
22
23       You can manually set the "$Unix::Process::PS_PROGRAM = "/opt/bin/ps""
24       by hand, or you can set "$ENV{PS_PATH} = "/usr/local/bin/ps"", but you
25       must somehow instruct Unix::Process on the location of ps.  Otherwise,
26       it will guess "/usr/bin/ps".
27

AUTHOR

29       Paul Miller "<jettero@cpan.org>"
30
31       I am using this software in my own projects...  If you find bugs,
32       please please please let me know. :) Actually, let me know if you find
33       it handy at all.  Half the fun of releasing this stuff is knowing that
34       people use it.
35
37       Copyright (c) 2007-2009 Paul Miller -- LGPL
38

SEE ALSO

40       perl(1), ps
41
42
43
44perl v5.32.1                      2021-01-27                        Process(3)
Impressum