DBD::Sys::Plugin::Any::Procs - provides a table containing running processes



NAME

DBD::Sys::Plugin::Any::Procs - provides a table containing running processes


SYNOPSIS

  $processes = $dbh->selectall_hashref("select * from procs", "pid");


ISA

  DBD::Sys::Plugin::Any::Procs
  ISA DBD::Sys::Table


DESCRIPTION

This module provides the table procs for any operating system (which is supported by Proc::ProcessTable).

COLUMNS

uid

UID of process

gid

GID of process


=head3 euid

Effective UID of process

egid

Effective GID of process

pid

Process ID


=head3 ppid

Parent process ID


=head3 pgrp

Process group


=head3 sess

Session ID

cpuid

CPU ID of processor running on # FIX ME!


=head3 priority

Priority of process


=head3 ttynum

TTY number of process


=head3 flags

Flags of process


=head3 fulltime

User + system time


=head3 ctime

Child user + system time


=head3 timensec

User + system nanoseconds part # FIX ME!


=head3 ctimensec

Child user + system nanoseconds # FIX ME!


=head3 qtime

Cumulative cpu time # FIX ME!


=head3 virtsize

Virtual memory size (bytes)


=head3 rss

Resident set size (bytes)


=head3 wchan

Address of current system call


=head3 fname

File name


=head3 start

Start time (seconds since the epoch)


=head3 pctcpu

Percent cpu used since process started


=head3 state

State of process


=head3 pctmem

Percent memory


=head3 cmndline

Full command line of process


=head3 ttydev

Path of process's tty


=head3 clname

Scheduling class name #FIX ME!


METHODS

getColNames

Returns the column names of the table as named in Columns

getPrimaryKey

Returns 'pid' - which is the process identifier.

collectData

Retrieves the data from the Proc::ProcessTable manpage and put it into fetchable rows.


PREREQUISITES

The module the Proc::ProcessTable manpage is required to provide data for the table.


AUTHOR

    Jens Rehsack                        Alexander Breibach
    CPAN ID: REHSACK
    rehsack@cpan.org                    alexander.breibach@googlemail.com
    http://www.rehsack.de/


COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.


SUPPORT

Free support can be requested via regular CPAN bug-tracking system. There is no guaranteed reaction time or solution time, but it's always tried to give accept or reject a reported ticket within a week. It depends on business load. That doesn't mean that ticket via rt aren't handles as soon as possible, that means that soon depends on how much I have to do.

Business and commercial support should be acquired from the authors via preferred freelancer agencies.

 DBD::Sys::Plugin::Any::Procs - provides a table containing running processes