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

NAME

6       Proc::ProcessTable::Process - Perl process objects
7

SYNOPSIS

9        $process->kill(9);
10        $process->priority(19);
11        $process->pgrp(500);
12        $uid = $process->uid;
13        ...
14

DESCRIPTION

16       This is a stub module to provide OO process attribute access for
17       Proc::ProcessTable. Proc::ProcessTable::Process objects are constructed
18       directly by Proc::ProcessTable; there is no constructor method, only
19       accessors.
20

METHODS

22       kill
23           Sends a signal to the process; just an aesthetic wrapper for perl's
24           kill. Takes the signal (name or number) as an argument. Returns
25           number of processes signalled.
26
27       priority
28           Get/set accessor; if called with a numeric argument, attempts to
29           reset the process's priority to that number using perl's
30           <B>setpriority function. Returns the process priority.
31
32       pgrp
33           Same as above for the process group.
34
35       all other methods...
36           are simple accessors that retrieve the process attributes for which
37           they are named. Currently supported are:
38
39             uid         UID of process
40             gid         GID of process
41             euid        effective UID of process           (Solaris only)
42             egid        effective GID of process           (Solaris only)
43             pid         process ID
44             ppid        parent process ID
45             spid        sprod ID                           (IRIX only)
46             pgrp        process group
47             sess        session ID
48             cpuid       CPU ID of processor running on     (IRIX only)
49             priority    priority of process
50             ttynum      tty number of process
51             flags       flags of process
52             minflt      minor page faults                  (Linux only)
53             cminflt     child minor page faults            (Linux only)
54             majflt      major page faults                  (Linux only)
55             cmajflt     child major page faults            (Linux only)
56             utime       user mode time (1/100s of seconds) (Linux only)
57             stime       kernel mode time                   (Linux only)
58             cutime      child utime                        (Linux only)
59             cstime      child stime                        (Linux only)
60             time        user + system time
61             ctime       child user + system time
62             timensec    user + system nanoseconds part     (Solaris only)
63             ctimensec   child user + system nanoseconds    (Solaris only)
64             qtime       cumulative cpu time                (IRIX only)
65             size        virtual memory size (bytes)
66             rss         resident set size (bytes)
67             wchan       address of current system call
68             fname       file name
69             start       start time (seconds since the epoch)
70             pctcpu      percent cpu used since process started
71             state       state of process
72             pctmem      percent memory
73             cmndline    full command line of process
74             ttydev      path of process's tty
75             clname      scheduling class name              (IRIX only)
76
77           See the "README.osname" files in the distribution for more up-to-
78           date information.
79

AUTHOR

81       D. Urist, durist@frii.com
82

SEE ALSO

84       Proc::ProcessTable, perl(1).
85
86
87
88perl v5.28.0                      2017-02-21                        Process(3)
Impressum